photfnu_from_photflam¶
- grizli.utils.photfnu_from_photflam(photflam, photplam)[source]¶
Compute PHOTFNU from PHOTFLAM and PHOTPLAM, e.g., for ACS/WFC
- Parameters
- photflamfloat
The PHOTFLAM value from the FITS header.
- photplamfloat
The PHOTPLAM value from the FITS header.
- Returns
- photfnufloat
The computed PHOTFNU value.
Examples
>>> ZP = -2.5 * np.log10(photflam) - 21.10 - 5 * np.log10(photplam) + 18.6921 >>> photfnu = 10 ** (-0.4 * (ZP - 23.9)) * 1.0e-6