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
wavQuantity

Quantity associated with values being converted (e.g., wavelength or frequency).

Notes

The factor argument is left for backward-compatibility with the syntax spectral_density(unit, factor) but users are encouraged to use spectral_density(factor * unit) instead.