Astronomical Functions¶
Magnitude and Flux Calculations¶
-
aotools.astronomy.
flux_to_magnitude
(flux, waveband='V')[source]¶ Converts incident flux of photons to the apparent magnitude
Parameters: - flux (float) – Number of photons received from an object per second per meter squared
- waveband (string) – Waveband of the measured flux, can be U, B, V, R, I, J, H, K, g, r, i, z
Returns: Apparent magnitude
Return type:
-
aotools.astronomy.
magnitude_to_flux
(magnitude, waveband='V')[source]¶ Converts apparent magnitude to a flux of photons
Parameters: - magnitude (float) – Star apparent magnitude
- waveband (string) – Waveband of the stellar magnitude, can be U, B, V, R, I, J, H, K, g, r, i, z
Returns: Number of photons emitted by the object per second per meter squared
Return type:
-
aotools.astronomy.
photons_per_band
(mag, mask, pxlScale, expTime, waveband='V')[source]¶ Calculates the photon flux for a given aperture, star magnitude and wavelength band
Parameters: Returns: number of photons
Return type: