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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file echelle_spectra-0.0.2.tar.gz.

File metadata

  • Download URL: echelle_spectra-0.0.2.tar.gz
  • Upload date:
  • Size: 96.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.28.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7

File hashes

Hashes for echelle_spectra-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4f92f6645bbf1b70c2d2e9d1ced88508251c37b4545f3a00164c88cf431d0b85
MD5 c61cc52ef0f827e882239b433f1e417f
BLAKE2b-256 053d0e9bdce05eafbfc41f9d0b15b39fe37b7fd91f7632afa57336c7a6e306f4

See more details on using hashes here.

File details

Details for the file echelle_spectra-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: echelle_spectra-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 98.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.28.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7

File hashes

Hashes for echelle_spectra-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae81ef8c1893b8ad36402f805eb361f40e9fa0e5214442d805f018be9ab4d0c2
MD5 f9688c93e109303211c0c763c9d6e6c1
BLAKE2b-256 f1cf0ac1839df22e643c20b46168a2b9927f332b26196496203a58e0d98511bd

See more details on using hashes here.

Supported by

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