ScopeSim_Templates Package

scopesim.stellar module

Templates to simulate stellar sources

scopesim_templates.stellar.star

Create a scopesim.Source object for a list of stars with given amplitudes.

scopesim_templates.stellar.stars

Create a scopesim.Source object for a list of stars with given amplitudes.

scopesim_templates.stellar.star_field

Create a super basic field of stars with random positions and brightnesses.

scopesim_templates.stellar.star_grid

Create a square grid of A0V stars at equal magnitude intervals.

scopesim_templates.stellar.cluster

Generate a source object for a young cluster.

scopesim_templates.extragalactic module

Templates to simulate extragalactic sources

scopesim_templates.extragalactic.galaxy

Create a source object of a galaxy described by its Sersic index and other parameters.

scopesim_templates.extragalactic.galaxy3d

Create a simplified 3D map of a galaxy with flux, rotation velocity and velocity dispersion.

scopesim_templates.extragalactic.spiral_two_component

Create a spiral galaxy using NGC1232L as the template.

scopesim_templates.extragalactic.elliptical

Create a extended Source object for an elliptical galaxy.

scopesim_templates.misc module

Templates that could be used to simulate more general sources

scopesim_templates.misc.point_source

Create a point source with an arbitrary spectrum.

scopesim_templates.misc.uniform_source

Create an extended uniform source with an arbitrary spectrum.

scopesim_templates.misc.source_from_file

Create a source from a fits image.

scopesim_templates.misc.source_from_array

Create a source from an image (numpy 2D array).

scopesim_templates.misc.source_from_imagehdu

Create a scopesim.Source object directly from a fits.ImageHDU.

scopesim_templates.misc.source_from_imagehdu_with_flux

Create a source from an image where pixel values have known flux and unit.

scopesim_templates.misc.source_from_cube

Wrapper for Source(cube=cube) for completeness.

scopesim_templates.calibration module

Simple templates that could be used to simulate calibration frames. Make sure to turn off the corresponding effects during the simulation

scopesim_templates.calibration.empty_sky

Return an empty source so that instrumental fluxes can be simulated.

scopesim_templates.calibration.flat_field

Create a flat-field source to be used in ScopeSim.

scopesim_templates.calibration.lamp

Create a homogenous source with a spectrum of emission lines.