ObsMetadata¶
- class lsst.ts.imsim.ObsMetadata(ra: float, dec: float, band: str, rotator_angle: float = 0.0, exp_time: float = 30.0, mjd: float = 60115.33, seq_num: int = 1, raw_seeing: int = 0.5, obs_id: str = '$f"IM_P_{astropy.time.Time(mjd, format=\'mjd\').strftime(\'%Y%m%d\')}_{seqnum:06d}" ', focus_z: float = 0.0, group_id: str = '1')¶
Bases:
object
Class for storing observation metadata.
Attributes Summary
Methods Summary
Calculate the alt and az angles so we can accurately populate the imsim configuration.
Calculate the parallactic angle so we know the sky rotation angle on alt-az mount for the observation.
Calculate the zenith angle so we can accurately populate the imsim configuration.
Get the observation info in the data structures needed to calculate observer information such as parallactic angle and zenith angle.
Attributes Documentation
- exp_time: float = 30.0¶
- focus_z: float = 0.0¶
- group_id: str = '1'¶
- mjd: float = 60115.33¶
- obs_id: str = '$f"IM_P_{astropy.time.Time(mjd, format=\'mjd\').strftime(\'%Y%m%d\')}_{seqnum:06d}" '¶
- raw_seeing: int = 0.5¶
- rotator_angle: float = 0.0¶
- seq_num: int = 1¶
Methods Documentation
- calc_alt_az() float ¶
Calculate the alt and az angles so we can accurately populate the imsim configuration.
Parameters¶
- obs_metadatalsst.ts.imsim.ObsMetadata
ObsMetadata dataclass object with observation information.
Returns¶
- float
Altitude Angle in degrees.
- float
Azimuth Angle in degrees.
- calc_parallactic_angle() float ¶
Calculate the parallactic angle so we know the sky rotation angle on alt-az mount for the observation.
Parameters¶
- obs_metadatalsst.ts.imsim.ObsMetadata
ObsMetadata dataclass object with observation information.
Returns¶
- float
Parallactic Angle in degrees.
- calc_zenith_angle() float ¶
Calculate the zenith angle so we can accurately populate the imsim configuration.
Parameters¶
- obs_metadatalsst.ts.imsim.ObsMetadata
ObsMetadata dataclass object with observation information.
Returns¶
- float
Zenith Angle in degrees.
- format_observation_info() -> (<class 'astroplan.observer.Observer'>, <module 'astropy.time' from '/opt/lsst/software/stack/conda/envs/lsst-scipipe-9.0.0/lib/python3.11/site-packages/astropy/time/__init__.py'>, <module 'astropy.coordinates' from '/opt/lsst/software/stack/conda/envs/lsst-scipipe-9.0.0/lib/python3.11/site-packages/astropy/coordinates/__init__.py'>)¶
Get the observation info in the data structures needed to calculate observer information such as parallactic angle and zenith angle.
Parameters¶
- obs_metadatalsst.ts.imsim.ObsMetadata
ObsMetadata dataclass object with observation information.
Returns¶
- Observer
astroplan.Observer for observer located at Rubin Observatory
- astropy.time
Observation time
- astropy.coordinates
Observation boresight