Modules¶
The classes and files for each module are listed below.
phosim¶
This module is a high-level module to use other modules.
Figure 1 Class diagram of phosim¶
PhosimCmpt: High-level class to use the module of ts_phosim.
OpdMetrology: OPD related metrology.
SkySim: Sky simulator to add the stars.
CloseLoopTask: Close loop task to run the simulation with PhoSim.
phosim.telescope¶
Figure 2 Class diagram of phosim.telescope¶
PhosimCommu: Interface to PhoSim.
CamSim: Camera distortion correction.
MirrorSim: Parent class of M1M3Sim and M2Sim classes.
M1M3Sim: M1M3 mirror distortion of gravity and temperature gradient.
M2Sim: M2 mirror distortion of gravity and temperature gradient.
TeleFacade: Telescope facade pattern that intergate the correction of camera and mirror distortion correction to PhoSim.
phosim.utils¶
Figure 3 Class diagram of phosim.utils¶
PlotUtil: Plot utility functions.
Utility: Enums and functions used in this module.
MetroTool: Metrology related functions contain the atmosphere model.
CreatePhosimDonutTemplates: Create donut templates on camera detectors using Phosim. See here for more information on generating Phosim donut templates.
SensorWavefrontError: Sensor wavefront error class. This class contains the information of sensor Id and related wavefront error.
MapSensorNameAndId: Map the sensor name and Id class to transform the name and Id with each other.