spectral_density#
- astropy.units.spectral_density(wav, factor=None)[source]#
 Returns a list of equivalence pairs that handle spectral density with regard to wavelength and frequency.
- Parameters:
 - wav
Quantity Quantityassociated with values being converted (e.g., wavelength or frequency).- factornumpy:array_like
 If
wavis a |Unit| instead of a |Quantity| thenfactoris the valuewavwill be multiplied with to convert it to a |Quantity|.Deprecated since version 7.0:
factoris deprecated. Pass inwavas a |Quantity|, not as a |Unit|.
- wav