Skip to content

Latest commit

 

History

History
73 lines (57 loc) · 2.28 KB

README.md

File metadata and controls

73 lines (57 loc) · 2.28 KB

spectview

The spectview is the Python 3.6 tool for spectroscopic data analysis.

Dependencies

This application requires the following python3 packages:

Dependencies installation

The needed packages can be installed with:

pip3 install -r requirements.txt

or

python3 setup.py build
sudo python3 setup.py install

Usage

To run spectview open terminal in the repository path and type:

python3 spectview.py

The spectview has following features.

  • Easy fitting of gaussian functons with linear background. The fit report can be saved to the output .txt file. example1

  • Easy managing of the spectra in the one figure. Every line, including lines from gaussian curves, is responsive and can be easily removed from the plot. example2 example4

  • Easy peaks marking and reporting it to the output .csv file. example3

  • Easy scale managing. example5

  • The spectview can be controled by keyboard. The keymap is presented in the table below.

Key Action
right arrow x axis view move right
left arrow x axis view move left
up arrow x axis view move up
down arrow x axis view move down
ctrl+up y axis expand scale
ctrl+right x axis expand scale
ctrl+left x axis collapse scale
ctrl+down y axis collapse scale
w open new window
s save .svg
f activate marking mode for fit
g do fit
h report fit to file
v activate marking mode
b print marked points out
r remove selected spectrum
a add spectrum from file

Author

Ewa Adamska

Ewa.Adamska@fuw.edu.pl

This project is licensed under the MIT License - see the LICENSE.md file for details