Lick

class paintbox.utils.Lick(wave, galaxy, bands0, vel=None, dw=None, units=None)[source] [edit on github]

Bases: object

Class to measure Lick indices.

Computation of the Lick indices in a given spectrum. Position of the passbands are determined by redshifting the position of the bands to the systemic velocity of the galaxy spectrum.

wave (array):

Wavelength of the spectrum given.

galaxy (array):

Galaxy spectrum in arbitrary units.

bands0 (array) :

Definition of passbands for Lick indices at rest wavelengths. Units should be consistent with wavelength array.

vel (float, optional):

Systemic velocity of the spectrum in km/s. Defaults to zero.

dw (float, optinal):

Extra wavelength to be considered besides bands for interpolation. Defaults to 2 wavelength units.

bands (array):

Wavelengths of the bands after shifting to the systemic velocity of the galaxy.

Methods Summary

classic_integration()

Calculation of Lick indices using spline integration.

Methods Documentation

classic_integration()[source] [edit on github]

Calculation of Lick indices using spline integration.

R (array):

Raw integration values for the Lick indices.

Ia (array):

Indices measured in equivalent widths.

Im (array):

Indices measured in magnitudes.

classic (array):

Indices measured according to the conventional units mixturing equivalent widths and magnitudes.