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_tol
float
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_tol
float
The angular distance an observation can be away from the specified RA,Dec and still count as completing the observation (radians).
- alt_min
float
The minimum altitude to consider executing the observation (radians).
- alt_max
float
The maximuim altitude to try observing (radians).
- HA_max
float
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_min
float
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)
- observed
bool
If set to True, scheduler will probably consider this a completed observation an never attempt it.