LOSVDConv¶
- class paintbox.LOSVDConv(obj, losvdpars=None, vunit='km/s')[source] [edit on github]¶
Bases:
paintbox.sed.PaintboxBaseConvolution of a SED model with the LOS Velocity Distribution.
This class allows the convolution of a SED model with the line–of-sight velocity distribution. This class requires that the input SED model has a logarithmic-scaled wavelength dispersion. Currently, this operation only supports LOSVDs with two moments (velocity and velocity dispersion).
- Attributes
- velscale: Quantity
Velocity scale of the wavelength array.
- parnames: list
Updated list of parameters, including the input SED object parameter names and the LOSVD parameters.
- wave: numpy.ndarray, astropy.quantities.Quantity
Wavelength array.
- Parameters
- obj: SED model
Input paintbox SED model to be convolved with the LOSVD.
- losvdpars: list
Name of the LOSVD parameters appended to the input paranames. Defaults to [V, sigma].
- vunit: str
Units used for velocity variables. Defaults to km/s.
Methods Summary
__call__(theta)Performs convolution of input model with LOSVD.
gradient(theta)Gradient of the convolved model.
Methods Documentation
- __call__(theta)[source] [edit on github]¶
Performs convolution of input model with LOSVD.
- gradient(theta)[source] [edit on github]¶
Gradient of the convolved model.