CompositeSED¶
- class paintbox.CompositeSED(o1, o2, op)[source] [edit on github]¶
Bases:
objectCombination of SED models.
The CompositeSED class allows the combination of any number of SED model components using addition and / or multiplication, as long as the input classes have the same wavelength dispersion.
- Attributes
- parnames: list
The new parnames list is a concatenation of the input SED models.
- wave: numpy.ndarray, astropy.quantities.Quantity
Wavelength array.
- Parameters
- o1, o2: SED model components
Input SED models to be combined either by multiplication or addition.
- op: str
Operation of the combination, either “+” or “*”.
Methods Summary
__call__(theta)SED model for combined components at point theta.
gradient(theta)Gradient of the combined SED model at point theta.
Methods Documentation
- __call__(theta)[source] [edit on github]¶
SED model for combined components at point theta.
- gradient(theta)[source] [edit on github]¶
Gradient of the combined SED model at point theta.