Conditions

class rubin_sim.scheduler.features.Conditions(nside=None, site='LSST', exptime=30.0, mjd_start=59853.5, season_offset=None, sun_ra_start=None)

Bases: object

Class to hold telemetry information

If the incoming value is a healpix map, we use a setter to ensure the resolution matches.

Unless otherwise noted, all values are assumed to be valid at the time given by self.mjd

Attributes Summary

HA

airmass

alt

az

az_to_antisun

az_to_sun

by_band_maps

cloud_map

fwhm_eff

global_maps

lmst

m5_depth

mjd

pa

skybrightness

slewtime

solar_elongation

Methods Summary

calc_alt_az()

calc_az_to_antisun()

calc_az_to_sun()

calc_ha()

calc_m5_depth()

calc_pa()

calc_solar_elongation()

season([modulo, max_season, season_length, ...])

Attributes Documentation

HA
airmass
alt
az
az_to_antisun
az_to_sun
by_band_maps = {'fwhm_eff', 'm5_depth', 'skybrightness'}
cloud_map
fwhm_eff
global_maps = {'airmass', 'dec', 'nan_map', 'ra', 'slewtime', 'zeros_map'}
lmst
m5_depth
mjd
pa
skybrightness
slewtime
solar_elongation

Methods Documentation

calc_alt_az()
calc_az_to_antisun()
calc_az_to_sun()
calc_ha()
calc_m5_depth()
calc_pa()
calc_solar_elongation()
season(modulo=None, max_season=None, season_length=365.25, floor=True)