FootprintNvisBasisFunction

class rubin_sim.scheduler.basis_functions.FootprintNvisBasisFunction(filtername='r', nside=None, footprint=None, nvis=1, out_of_bounds_val=nan)

Bases: BaseBasisFunction

Basis function to drive observations of a given footprint. Good to target of opportunity targets where one might want to observe a region 3 times.

Parameters:
footprintnp.array

A healpix array (1 for desired, 0 for not desired) of the target footprint.

nvisint (1)

The number of visits to try and gather