Components¶
A “Component” in spexxy describes a component in a fit, which in general is a collection of parameters and a method to fetch data for a given set of parameter values. Typically, a component build on top of a Grid or an interpolator.
spexxy comes with a few pre-defined grids:
SpectrumComponentis the base class for all components that serve spectra.StarComponentcontains a single spectrum and adds LOSVD parameters.GridComponentwraps a grid or an interpolator into a component and adds LOSVD parameters.TelluricsComponentis just a convenient class derived from GridComponent <spexxy.component.GridComponent> that changes the default’s component name.