Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CosmoSim Scripts

User tools

CosmoSim is a suite of tools. The page below document the main command line utilities. In addition, we have the following:

See also CosmoSim demos.

CosmoSim on the Command Line

The CosmoSim module is executable (as of version 3.0.0), providing several modes of operation.

The dataset generation (rnd) can also be accessed separately:

Other scripts

Source Models Supported

The following names should be used to specify the source. Other names are defined, but will be deprecated.

Lens and Simulation Models Supported

Display nameLensSimulationSampledAlias
"Point Mass (exact)"Point MassExact (PM)No"p"
"Point Mass (roulettes)"Point MassRoulette (PM)[1]No"r"
"Sampled Roulette SIS"SISRouletteYes"ss"
"Sampled Roulette SIE"SIERouletteYes"srousie"
"Sampled Raytrace SIS"SISRaytraceYes"pss"
"Sampled Raytrace SIE"SIERaytraceYes"sraysie"
"Roulette SIS"SISRouletteNo"fs"
"Roulette SIE"SIERouletteNo"rousie"
"Raytrace SIS"SISRaytraceNo"rs"
"Raytrace SIE"SIERaytraceNo"raysie"

The display names are used in the GUI and should be used whereever spaces do not confuse the parser. The alias can be used in data files where space may cause problems.

Footnotes
  1. Roulette simulation for point mass lenses is implemented as a special case and does not use the generic roulette simulator.