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 :
QuantityQuantityassociated with values being converted (e.g., wavelength or frequency).Notes
The
factorargument is left for backward-compatibility with the syntaxspectral_density(unit, factor)but users are encouraged to usespectral_density(factor * unit)instead.