spectral_density#
- astropy.units.equivalencies.spectral_density(wav, factor=None)[source]#
Returns a list of equivalence pairs that handle spectral density with regard to wavelength and frequency.
- Parameters:
Notes
The
factorargument is left for backward-compatibility with the syntaxspectral_density(unit, factor)but users are encouraged to usespectral_density(factor * unit)instead.