spectral_density¶
-
astropy.units.equivalencies.
spectral_density
(wav, factor=None)[source] [edit on github]¶ Returns a list of equivalence pairs that handle spectral density with regard to wavelength and frequency.
Parameters: wav :
Quantity
Quantity
associated with values being converted (e.g., wavelength or frequency).Notes
The
factor
argument is left for backward-compatibility with the syntaxspectral_density(unit, factor)
but users are encouraged to usespectral_density(factor * unit)
instead.