On-sky source templates for ScopeSim
Project description
ScopeSim Templates
This packages contain a number of templates to generate Source objects to be used in simulations with the ScopeSim Simulator
The Documentation can be found here: https://scopesim-templates.readthedocs.io/en/latest
Installation
The best way to install the software is to use pip
pip install scopesim_templates
To install the development version you can clone the repository
git clone https://github.com/AstarVienna/ScopeSim_Templates/
cd ScopeSim_Templates
pip install -e .
Requirements
The Source object
The above functions are created to easy the creation of standard sources but the power of the Source object doesn't end there and can be used to create endless sources possibilities.
In a nutshell a Source object contains a spacial and spectral description of the sources. The spectral description are in the form of synphot spectra and the spacial description can be an astropy table referencing the spectra or a fits image. Source can also accept datacubes. The speXtra package contains an extensive library of spectral templates that can be used with the sources. Please check the relevant documentation.
Source templates included
Currently, the package covers the most typical sources used in astronomy:
-
stellarstar: Places a single star on the fieldstars: Places a list of stars on the fieldstar_field: Creates field of stars with random positionsstar_grid: Creates a field of stars with regular positionscluster: Creates an age=0 cluster with a user selected mass
-
extragalacticgalaxy: A simple sersic model with a user selected SED from thespeXtradatabasegalaxy3D: A more complex model that includes a velocity field and velocity dispersion fieldspiral_two_component: Simple two component model with an outer spiral young SED and an old SED bulgeelliptical: Another sersic model using the Brown SEDs
-
miscpoint_source: similar tostarbut using any SED from thespeXtradatabaseuniform_source: Creates a uniform source with any SED fromspeXtrasource_from_file: Load the source from a fits file. Depending on the characteristics othe functions may be more suitablesource_from_imagehdu: creates a source from anImageHDUwith an arbitrary flux and scalesource_from_imagehdu_with_flux: creates a source from anImageHDUwhere the flux/pixel is knownsource_from_array: General function to create a source from a 2Dnumpyarraysource_from_cube: Wrapper to create a source from a 3D datacube
-
calibrationlamp: Simulates a calibration lamp, i.e. a homogenous source with emissions linesflat_field: Simulates a flat fieldempty_sky: To simulate a sky without no other sources
Please see the documentation how to use each particular source and contact us (raise an issue or submit a pull request) if more specialized sources are needed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scopesim_templates-0.7.0.tar.gz.
File metadata
- Download URL: scopesim_templates-0.7.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08474e458a4025e88d12dd20ad3bf0d3a865c5ec35573b70e7c79d42fc883fe9
|
|
| MD5 |
a944fa2694dac58073412cd35e8c7ad7
|
|
| BLAKE2b-256 |
06fbb861cb0d795efe51a6ec69c9c66804d8cbfabccf6f84fbdbefcbc1ac766e
|
File details
Details for the file scopesim_templates-0.7.0-py3-none-any.whl.
File metadata
- Download URL: scopesim_templates-0.7.0-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672436bc04da15a48b0ef6942f95a934736768c6338c708b08b406b5c5a70c22
|
|
| MD5 |
2f76bd84124dd08ac09882f2baa6b4e2
|
|
| BLAKE2b-256 |
d9d0c090832567b14984caac20ee880cc73cb5b36da8083deaf53ded6b055463
|