mfouesneau / pyphot

suite to deal with passband photometry
https://mfouesneau.github.io/pyphot/
MIT License
57 stars 18 forks source link

Effective wavelength #16

Closed RuiningZHAO closed 4 years ago

RuiningZHAO commented 5 years ago

Is there a method to calculate effective wavelengths by convolving with observed spectrum rather than archived Vega spectrum?

mfouesneau commented 5 years ago

If you look at the documentation, lphot is calculated following its definition as lphot = F.get_flux(lamb, lamb * vega) / F.get_flux(lamb, vega) (for a photon counter)