scheduled_observation

rubin_sim.scheduler.utils.scheduled_observation(n=1)

Make an array to hold pre-scheduling observations

Returns:
resultnp.array
things to fill in
mjd_tolfloat

The tolerance on how early an observation can execute (days). Observation will be considered valid to attempt when mjd-mjd_tol < current MJD < flush_by_mjd (and other conditions below pass)

dist_tolfloat

The angular distance an observation can be away from the specified RA,Dec and still count as completing the observation (radians).

alt_minfloat

The minimum altitude to consider executing the observation (radians).

alt_maxfloat

The maximuim altitude to try observing (radians).

HA_maxfloat

Hour angle limit. Constraint is such that for hour angle running from 0 to 24 hours, the target RA,Dec must be greather than HA_max and less than HA_min. Set HA_max to 0 for no limit. (hours)

HA_minfloat

Hour angle limit. Constraint is such that for hour angle running from 0 to 24 hours, the target RA,Dec must be greather than HA_max and less than HA_min. Set HA_min to 24 for no limit. (hours)

observedbool

If set to True, scheduler will probably consider this a completed observation an never attempt it.