Closed woutergins closed 9 years ago
Update: all Spectra classes now use a parameters object. Next step is extracting the fitting routines to act on the spectrum.
The fitting methods have been replaced by fitting functions, and these are now bundled together in the module fitting.py
To make the process easier, we should go from an approach where we have attributes in a spectrum to an approach where we have a single parameters object in the spectrum. Also, adhering more to the philosophy of an object representing a state and using functions to modify a state could simplify the entire train of thought. This would mean the fitting routines should be removed from the baseclass Spectrum and created as external functions that act on objects.