NObsHighAmBasisFunction

class rubin_sim.scheduler.basis_functions.NObsHighAmBasisFunction(nside=None, filtername='r', footprint=None, n_obs=3, season=300.0, am_limits=[1.5, 2.2], out_of_bounds_val=nan)

Bases: BaseBasisFunction

Reward only reward/count observations at high airmass

Methods Summary

add_observation(observation[, indx])

Parameters:

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

add_observation(observation, indx=None)
Parameters:
observationnp.array

An array with information about the input observation

indxnp.array

The indices of the healpix map that the observation overlaps with

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.