A fast generic spectrum simulator
Project description
PyEchelle
PyEchelle is a simulation tool, to generate realistic 2D spectra, in particular cross-dispersed echelle spectra. However, it is not limited to echelle spectrographs, but allows simulating arbitrary spectra for any fiber-fed or slit spectrograph, where a model file is available. Optical aberrations are treated accurately, the simulated spectra include photon and read-out noise.
Example usage
pyechelle --spectrograph MaroonX --fiber 2-4 --sources Phoenix --phoenix_t_eff 3500 -t 10 --rv 100 -o mdwarf.fit
simulates a PHOENIX M-dwarf spectrum with the given stellar parameters, and a RV shift of 100m/s for the MAROON-X spectrograph.
The output is a 2D raw frame (.fits) and will look similar to:
Check out the Documentation for more examples.
Pyechelle is the successor of Echelle++ which has a similar functionality but was written in C++. This package was rewritten in python for better maintainability, easier package distribution and for smoother cross-platform development.
Installation
As simple as
pip install pyechelle
Check out the Documentation for alternative installation instruction.
Usage
See
pyechelle -h
for all available command line options.
See Documentation for more examples.
Citation
Please cite this paper if you find this work useful in your research.
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
File details
Details for the file pyechelle-0.1.7.tar.gz
.
File metadata
- Download URL: pyechelle-0.1.7.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed58dd35333edca268dc29c4a7947b5cf827f900e6d2d9cdc9fffe00bec7257c |
|
MD5 | cba031dc8ad8faa20b072e67c254a46b |
|
BLAKE2b-256 | a82b8765413f0e1cd2f012b47cb20e29e4dc26f655380dba639cfe91f11c486d |
File details
Details for the file pyechelle-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: pyechelle-0.1.7-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.8.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d6993ff5b9f057ec0a0e32cbde2c91c3311d03e2c6a724f4f3763315a00674 |
|
MD5 | c0a8c83a0c41401421f443fd8e773a5a |
|
BLAKE2b-256 | df0d899f34a55de6cad08d37bd3d371f7e7c41a227dcfaa7fa37bfd294e2f68e |