lunar_phase_angle

nsb2.emitter.moon.lunar_phase_angle(obstime)[source]

Compute the signed lunar phase angle seen from Earth.

Parameters:

obstime (astropy.time.Time) – Time of observation.

Returns:

Phase angle in radians, in [-pi, pi], shape (N,) for N times and (1,) for a scalar one. Positive while the Moon is waxing, negative when waning.

Return type:

numpy.ndarray