lunar_transit#
- caput.astro.observer.Observer.lunar_transit(t0, t1=None, step=None, lower=False, return_dec=False)[source]#
Find the Lunar transits between two times.
- Parameters:
- t0
ctime.TimeLike The start time to search for. Any type that be converted to a UNIX time by caput.
- t1
ctime.TimeLike|None, optional The end time of the search interval. If not set, this is 1 day after the start time t0.
- step
float|None, optional The initial search step in days. This is used to find the approximate times of transit, and should be set to something less than the spacing between events. If None is passed, an initial search step of 0.2 days, or else one fifth of the specified interval, is used, whichever is smaller.
- lowerbool, optional
By default this only returns the upper (regular) transit. This will cause lower transits to be returned instead.
- return_decbool, optional
If set, also return the declination of the source at transit.
- t0
- Returns:
- unix_times
ndarray Lunar transit times as UNIX epoch times.
- unix_times