Lick indices calculations. More...
Classes | |
class | cphot::LickIndex |
Define a Lick Index similarily to a Filter object. More... | |
class | cphot::LickLibrary |
Collection of Lick indices. More... | |
Functions | |
DMatrix | cphot::reduce_resolution (const DMatrix &w, const DMatrix &flux, double fwhm0, double sigma_floor) |
Adapt the resolution of the spectra to match the lick definitions. More... | |
Lick indices calculations.
This package provides function to compute spectral indices.
We provide a collection of many common indices. The Lick system of spectral line indices is one of the most commonly used methods of determining ages and metallicities of unresolved (integrated light) stellar populations.
The calibration of the Lick/ IDS system is complicated because the original Lick spectra were not flux calibrated, so there are usually systematic effects due to differences in continuum shape. Proper calibration involves observing many of the original Lick/IDS standard stars and deriving offsets to the standard system.
references:
DMatrix cphot::reduce_resolution | ( | const DMatrix & | w, |
const DMatrix & | flux, | ||
double | fwhm0, | ||
double | sigma_floor | ||
) |
Adapt the resolution of the spectra to match the lick definitions.
Lick definitions have different resolution elements as function of wavelength. These definition are hard-coded in this function
w | wavelength definition in Angstrom |
flux | spectra to convert |
fwhm0 | initial broadening in the spectra fi |
sigma_floor | minimal dispersion to consider |