Skip to main content

Graphical tool for the extraction and analysis of calibrated spectra from 2D Echelle spectrometer images

Project description


Echelle Spectra Logo
Echelle Spectra

Graphical tool for the extraction and analysis of calibrated spectra from 2D Echelle spectrometer images

Python 3.7 MIT License Latest release Latest release date Commits since latest release

Quick startUsageConfigurationAuthorsLicense

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
UI UI

UI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

echelle_spectra-0.0.2.tar.gz (96.1 MB view hashes)

Uploaded Source

Built Distribution

echelle_spectra-0.0.2-py3-none-any.whl (98.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page