The spectview is the Python 3.6 tool for spectroscopic data analysis.
This application requires the following python3 packages:
The needed packages can be installed with:
pip3 install -r requirements.txt
or
python3 setup.py build
sudo python3 setup.py install
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 |
Ewa Adamska
This project is licensed under the MIT License - see the LICENSE.md file for details