scopesim.optics.optical_element module¶
- class scopesim.optics.optical_element.OpticalElement(yaml_dict=None, **kwargs)[source]¶
Bases:
objectContains all information to describe a section of an optical system
There are 5 major section:
location,telescope,relay opticsinstrument,detector.An OpticalElement describes how a certain section of the optical train changes the incoming photon distribution by specifying a list of
Effectsalong with a set of local properties e.g. temperature, etc which are common to more than one Effect- Parameters:
- yaml_dictdict
Description of optical section properties, effects, and meta-data
- kwargsdict
Optical Element specific information which has no connection to the effects that are passed. Any global values, e.g. airmass (i.e. bang strings) are passed on to the individual effect, where the relevant values are then pulled from rc.__currsys__
- Attributes:
- metadict
Contains meta data from the yaml, and is updated with the OBS_DICT key-value pairs
- propertiesdict
Contains any properties that is “global” to the optical element, e.g. instrument temperature, atmospheric pressure. Any OBS_DICT keywords are cleaned with from the
metadict during initialisation- effectslist of dicts
Contains the a list of dict descriptions of the effects that the optical element generates. Any OBS_DICT keywords are cleaned with from the
metadict during initialisation
- property display_name¶
- property masks_list¶
- property properties_str¶
- property surfaces_list¶