Quicklook tool for level 2 SPICE imaging
Project description
SPICE data quicklook in PyQt5 / PyQtGraph
This graphical user interface (GUI) allows you to have a quick look in the SPICE data (provide level 2 '.fits' files in input). You will be able to navigate dynamically in the data thanks to sliders which update the maps I(x,y) ; I(lambda,y), the curve I(lambda) and more.
Also, you can draw a gaussian fit on the profile I(lambda) and generate the maps related to the gaussian parameters.
- Windows installation (using Pycharm)
Please take a look at the documentation: windows_installation.pdf
- Linux installation
0) If you don't already have a python3/pip3 environment:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
sudo apt install python3-pip
Optional: install and run a virtual env (an IDE like pycharm could do it instead)
sudo apt-get install python3-venv
python3 -m venv env
. env/bin/activate
1) Install the requirements
pip install -r requirements.txt
Think to upgrade numpy to > 1.20 for nanpercentile usage. (Then reboot your IDE)
pip install numpy --upgrade
2) Run the app
python3 run.py or use an IDE like pycharm (which will install the requirements automatically), open this folder as a project and run run.py
3) Troubleshooting
Error known: "qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. [...] Aborted (core dumped)"
In this case, try to do: sudo apt-get install --reinstall libxcb-xinerama0
4) For developers
- See docs/code_conventions.txt before adding some codes
- Watch logs with
watch tail logs/debug.logorlogs/show_debug_console.sh
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spiceitup-1.0.0.tar.gz.
File metadata
- Download URL: spiceitup-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
463a7d23815e307580d2e27c5cbaf399ea70393f1ae04c10122cdba9dcb0506f
|
|
| MD5 |
d4126ad2d17dc5bdc4177f660b784cfd
|
|
| BLAKE2b-256 |
4938aad6ded5801673ebcce03b3b519b3707afa48520b3f13b8a1d07b63d0f3f
|
File details
Details for the file spiceitup-1.0.0-py3-none-any.whl.
File metadata
- Download URL: spiceitup-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e56838902d2b5bf0502478631ef7461d74cc846d76311dc5e7409d0b8fdc31
|
|
| MD5 |
8d194d3340c1368dec6449578eb61a35
|
|
| BLAKE2b-256 |
855a6d7fcca9ace6e16caa05281c53f6607fe2712906915598d65025941fa5bc
|