SPICE data quicklook in PyQt6 / 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.
- Documentation
docs/user_manual/user_documentation.pdf
- 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 would be also fine)
sudo apt-get install python3-venv
python3 -m venv env
. env/bin/activate
A - Using official package
pip install spiceitup
Run with spiceitup
B - Manually from project
B.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
B.2) Run the app
cd spiceitup
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
B.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
spiceitup: command not found
In this case check if spiceitup is here: $(python -m site --user-base)/bin"
Then add it to $PATH: export PATH="$PATH:$(python -m site --user-base)/bin"
Run again spiceitup
No module spiceitup
In this case you should use a virtual environment (see python virtual environment)
B.4) For developers
- See docs/code_conventions.txt before adding some codes
- Watch logs with
watch tail logs/debug.logorlogs/show_debug_console.sh
Metadata
Release files for spiceitup 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spiceitup-2.0.0.tar.gz | 6.0 kB | Without provenance | Details for spiceitup-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spiceitup-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for spiceitup-2.0.0-py3-none-any.whl |
Total release size: 12.3 kB
Release files / spiceitup-2.0.0.tar.gz
| Download URL | spiceitup-2.0.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9805ba5dc32048806be3320ee2c7fd98783d56ee7f7327329f87ed03aa525aad
|
|
BLAKE2b-256 checksum How to use checksums |
abb18c2aba40b6f439bd809ca19865c06f513529f28f32f9a44615a191f97fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / spiceitup-2.0.0-py3-none-any.whl
| Download URL | spiceitup-2.0.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1588b17fbd3cbd4ddbc97dfc46df781b62eec2f427b70f28a86d14dd7bc78e78
|
|
BLAKE2b-256 checksum How to use checksums |
e73f6129d8518778371e178e04e9362a5d0fbf6d3fb5064058da3a2deba5c47c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for spiceitup 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.