spiceitup 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: spiceitup
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Quicklook tool for level 2 SPICE imaging
|
|
5
|
+
Home-page: https://git.ias.u-psud.fr/spice/data_quicklook
|
|
6
|
+
Author: David Picard
|
|
7
|
+
Author-email: david.picard@universite-paris-saclay.fr
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Requires-Python: >=3.7
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: PyQt5
|
|
13
|
+
Requires-Dist: sunraster
|
|
14
|
+
Requires-Dist: pyqtgraph
|
|
15
|
+
Requires-Dist: qdarkgraystyle
|
|
16
|
+
Requires-Dist: scipy
|
|
17
|
+
Requires-Dist: opencv-python-headless
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: requires-dist
|
|
25
|
+
Dynamic: requires-python
|
|
26
|
+
Dynamic: summary
|
|
27
|
+
|
|
28
|
+
# SPICE data quicklook in PyQt5 / PyQtGraph
|
|
29
|
+
|
|
30
|
+
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.
|
|
31
|
+
|
|
32
|
+
Also, you can draw a gaussian fit on the profile I(lambda) and generate the maps related to the gaussian parameters.
|
|
33
|
+
|
|
34
|
+
## - Windows installation (using Pycharm)
|
|
35
|
+
|
|
36
|
+
Please take a look at the documentation: [windows_installation.pdf](doc/windows_installation.pdf)
|
|
37
|
+
|
|
38
|
+
## - Linux installation
|
|
39
|
+
|
|
40
|
+
### 0) If you don't already have a python3/pip3 environment:
|
|
41
|
+
|
|
42
|
+
`sudo apt-get install build-essential libssl-dev libffi-dev python-dev`
|
|
43
|
+
`sudo apt install python3-pip`
|
|
44
|
+
|
|
45
|
+
Optional: install and run a virtual env (an IDE like pycharm could do it instead)
|
|
46
|
+
`sudo apt-get install python3-venv`
|
|
47
|
+
`python3 -m venv env`
|
|
48
|
+
`. env/bin/activate`
|
|
49
|
+
|
|
50
|
+
### 1) Install the requirements
|
|
51
|
+
`pip install -r requirements.txt`
|
|
52
|
+
**Think to upgrade numpy to > 1.20 for nanpercentile usage.** (Then reboot your IDE)
|
|
53
|
+
`pip install numpy --upgrade`
|
|
54
|
+
|
|
55
|
+
### 2) Run the app
|
|
56
|
+
`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`
|
|
57
|
+
|
|
58
|
+
### 3) Troubleshooting
|
|
59
|
+
Error known: **"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. [...] Aborted (core dumped)"**
|
|
60
|
+
In this case, try to do: `sudo apt-get install --reinstall libxcb-xinerama0`
|
|
61
|
+
|
|
62
|
+
### 4) For developers
|
|
63
|
+
- See docs/code_conventions.txt before adding some codes
|
|
64
|
+
- Watch logs with `watch tail logs/debug.log` or `logs/show_debug_console.sh`
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
spiceitup-1.0.0.dist-info/METADATA,sha256=ADVnnmba7w4BVldbXMLSva4nPFKU9Z4gCXAx9kuTuwA,2457
|
|
2
|
+
spiceitup-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
3
|
+
spiceitup-1.0.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
+
spiceitup-1.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|