HourAngleLimitBasisFunction¶
- class rubin_sim.scheduler.basis_functions.HourAngleLimitBasisFunction(RA=0.0, ha_limits=None)¶
Bases:
BaseBasisFunction
Only execute a survey in limited hour angle ranges. Useful for limiting Deep Drilling Fields.
- Parameters:
- RAfloat (0.)
RA of the target (degrees).
- ha_limitslist of lists
limits for what hour angles are acceptable (hours). e.g., to give 4 hour window around RA=0, ha_limits=[[22,24], [0,2]]
Methods Summary
check_feasibility
(conditions)If there is logic to decide if something is feasible (e.g., only if moon is down), it can be calculated here.
Methods Documentation
- check_feasibility(conditions)¶
If there is logic to decide if something is feasible (e.g., only if moon is down), it can be calculated here.
Helps prevent full __call__ from being called more than needed.