Simulations

Currently there are three functions supporting Simulations. The explanations below assume they are used in a python script or environment and do NOT reflect their implementation or versatility in the use case of the GUI.

Direct Simulation

Direct Simulations are closest to the underlying ScopeSim code. They have a small amount of changeable parameters, however they feed directly into the simulation engine without any layer in between. Theoretically every mode currently supported ScopeSim can be used.

Yaml file Simulation

The yaml Simulations make use of the approach first implemented in the METIS_Simulations Repository. They support a similar amount of parameters to the direct Simulations, however they work with a lot of ScopeSim parameters that are specific to METIS which have been set in the background. Thus these are most likely closer to science grade Simulations.

sigmas.simulations.run_sim.Yaml_Simulate(variables: dict, pkg_path)

Simulate images for differnt combinations of source, mode and exposure time.

Parameters:
  • variables (dict) – A dictionary containing values for the mode, source and exposure time.

  • pkg_path – The path to where the IRDB packages are to be installed, defaults to a subdirectory of the home directory.

Return type:

None

Donut Simulation

The Donut Simulations support a different type of Simulation. They make use of the AstroDonut Package. These aim to simulate ‘…synthetic elliptical ring structures…’.