blackbody_nu¶
- synphot.blackbody.blackbody_nu(in_x, temperature)[source]¶
Calculate blackbody flux per steradian, \(B_{\nu}(T)\).
Note
Use
numpy.errstate
to suppress Numpy warnings, if desired.Warning
Output values might contain
nan
andinf
.- Parameters:
- Returns:
- flux
Quantity
Blackbody monochromatic flux in \(erg \; cm^{-2} s^{-1} Hz^{-1} sr^{-1}\).
- flux
- Raises:
- ValueError
Invalid temperature.
- ZeroDivisionError
Wavelength is zero (when converting to frequency).