Skip to main content

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.

- 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

python3 spiceitup/main.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.log or logs/show_debug_console.sh

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

spiceitup-1.3.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

spiceitup-1.3.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file spiceitup-1.3.0.tar.gz.

File metadata

  • Download URL: spiceitup-1.3.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for spiceitup-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ce7c2e7929cd009ab75083fce29f4a27f2c2cfe024c8a9734803772fe1138cf8
MD5 65e0509d1b2b9564fab0a59e207615b4
BLAKE2b-256 ec2efbfad8cff5e9399819bc602a6c3c43418ba4a5b4ac25c14035a37c5fabfa

See more details on using hashes here.

File details

Details for the file spiceitup-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: spiceitup-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for spiceitup-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cbd09acf5209dc08e6f0f8f2b8ae40a33890de80f79ccb05ec71f3c4ddb747e
MD5 318383d03be6d8115378586e36cf95be
BLAKE2b-256 bf6d032dc697e45b2887f93a3ba8e407ca61fea0187291065e2d3e1c7b7c90b8

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