Footprint¶
- class rubin_sim.scheduler.utils.Footprint(mjd_start, sun_ra_start=0, nside=32, filters={'g': 1, 'i': 3, 'r': 2, 'u': 0, 'y': 5, 'z': 4}, period=365.25, step_func=None)¶
Bases:
object
An object to compute the desired survey footprint at a given time
- Parameters:
- mjd_startfloat
The MJD the survey starts on
- sun_ra_startfloat
The RA of the sun at the start of the survey (radians)
Methods Summary
__call__
(mjd[, array, norm])- Returns:
arr2struc
(inarr)take an array and convert it to labled struc array
estimate_counts
(mjd[, nvisits, fov_area])Estimate the counts we'll get after some time and visits
get_footprint
(filtername)set_footprint
(filtername, values)Methods Documentation
- __call__(mjd, array=False, norm=True)¶
- Returns:
- a numpy array with the normalized number of observations that should be at each HEALpix.
- Multiply by the number of HEALpix observations (all filters), to convert to the number of observations
- desired.
- arr2struc(inarr)¶
take an array and convert it to labled struc array
- estimate_counts(mjd, nvisits=2200000.0, fov_area=9.6)¶
Estimate the counts we’ll get after some time and visits
- get_footprint(filtername)¶
- set_footprint(filtername, values)¶