ssoflux.comet_mag
ssoflux.comet_mag(m1, m2, k1, k2, pc, alpha__deg, robs=1.0, rhel=1.0)Calculate the apparent magnitude of a comet.
Parameters
m1 : float, array-like-
The magnitude related parameters (equivalent to asteroid’s H-mag) for the total magnitude and nucleus magnitude, respectively.
m2 : float, array-like-
The magnitude related parameters (equivalent to asteroid’s H-mag) for the total magnitude and nucleus magnitude, respectively.
k1 : float, array-like-
The heliocentric distance power law index for the total and nucleus magnitude, respectively. (equivalent to asteroids if 5)
k2 : float, array-like-
The heliocentric distance power law index for the total and nucleus magnitude, respectively. (equivalent to asteroids if 5)
pc : float, array-like-
The phase coefficient for the nucleus magnitude.
**alpha__deg** : float, array-like-
The phase angle (Sun-Target-Observer angle) in degrees.
robs : float, array-like, default = 1.0-
The observer and heliocentric distance in au. By default
1.0au. rhel : float, array-like, default = 1.0-
The observer and heliocentric distance in au. By default
1.0au.
Notes
Comet mags are calculaed as https://ssd.jpl.nasa.gov/horizons/manual.html#obsquan ::
T-mag=M1 + 5*log10(delta) + k1*log10(r)
N-mag=M2 + 5*log10(delta) + k2*log10(r) + pc*alpha