Graphical tool for the extraction and analysis of calibrated spectra from 2D Echelle spectrometer images
Project description
Echelle Spectra
Graphical tool for the extraction and analysis of calibrated spectra from 2D Echelle spectrometer images
Quick start • Usage • Configuration • Authors • License
Quick start
The echelle_spectra module can be installed directly from PyPI via pip
:
pip install echelle_spectra --upgrade
The echelle_spectra app GUI can be invoked directly as a Python module:
python -m echelle_spectra
Alternatively, the module can imported and the GUI started from within a Python script:
import echelle_spectra
echelle_spectra.gui.start()
If you instead wish to run the tool from its source, clone this repository using git
, install the project requirements, and execute the __main__.py
script file as follows:
git clone https://github.com/queezz/echelle_spectra.git
cd echelle_spectra
pip install -r requirements.txt
python ./src/echelle_spectra/__main__.py
Usage
With the Echelle Spectra GUI open, you will be presented with a set of blank image and spectra plots, as well as a control panel of settings and information on the left.
Firstly, an image file containing data from an Echelle spectrometer needs to be loaded. During the loading process, each frame of the file is converted to a calibrated wavelength-intensity spectrum, and fitting to regions of interest in the spectrum is carried out if requested. Optionally, all spectral and fitting data is saved to disk, which can be imported by another application.
After a file is successfully loaded, the first frame will be graphically displayed in the image viewer, and the corresponding computed spectrum will be shown below it. The control panel on the left can be used to select which frame from the file is being visualised.
Other tabs are also available in the GUI, which contain plots populated by snippets of spectral data in common regions of interest. If fitting was enabled during loading, a convolution of one or more Gaussian curves is plotted that best approximates the emissive intensity in those wavelength regions.
Data loading
(Info box)
Calibration
Data export
Bulk processing
GUI for Echelle image processing
To convert Echelle images to spectra two options are avaliable: use this GUI, or import EchelleImage
class to read, calibrate, and produce a Spectrum
class, from wicht data could be exported. See examples for CCD and CMOS sensors.
CCD image | CMOS image |
---|---|
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
Hashes for echelle_spectra-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae81ef8c1893b8ad36402f805eb361f40e9fa0e5214442d805f018be9ab4d0c2 |
|
MD5 | f9688c93e109303211c0c763c9d6e6c1 |
|
BLAKE2b-256 | f1cf0ac1839df22e643c20b46168a2b9927f332b26196496203a58e0d98511bd |