spiceitup 1.0.0__tar.gz

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,37 @@
1
+ # SPICE data quicklook in PyQt5 / PyQtGraph
2
+
3
+ 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.
4
+
5
+ Also, you can draw a gaussian fit on the profile I(lambda) and generate the maps related to the gaussian parameters.
6
+
7
+ ## - Windows installation (using Pycharm)
8
+
9
+ Please take a look at the documentation: [windows_installation.pdf](doc/windows_installation.pdf)
10
+
11
+ ## - Linux installation
12
+
13
+ ### 0) If you don't already have a python3/pip3 environment:
14
+
15
+ `sudo apt-get install build-essential libssl-dev libffi-dev python-dev`
16
+ `sudo apt install python3-pip`
17
+
18
+ Optional: install and run a virtual env (an IDE like pycharm could do it instead)
19
+ `sudo apt-get install python3-venv`
20
+ `python3 -m venv env`
21
+ `. env/bin/activate`
22
+
23
+ ### 1) Install the requirements
24
+ `pip install -r requirements.txt`
25
+ **Think to upgrade numpy to > 1.20 for nanpercentile usage.** (Then reboot your IDE)
26
+ `pip install numpy --upgrade`
27
+
28
+ ### 2) Run the app
29
+ `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`
30
+
31
+ ### 3) Troubleshooting
32
+ Error known: **"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. [...] Aborted (core dumped)"**
33
+ In this case, try to do: `sudo apt-get install --reinstall libxcb-xinerama0`
34
+
35
+ ### 4) For developers
36
+ - See docs/code_conventions.txt before adding some codes
37
+ - Watch logs with `watch tail logs/debug.log` or `logs/show_debug_console.sh`
@@ -0,0 +1,3 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel"]
3
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,28 @@
1
+ import os
2
+ from setuptools import setup, find_packages
3
+
4
+ def load_requirements(filename):
5
+ with open('/srv/data_quicklook/' + filename, 'r') as f:
6
+ return [
7
+ line.strip()
8
+ for line in f
9
+ if line.strip() and not line.startswith('#')
10
+ ]
11
+
12
+ setup(
13
+ name='spiceitup',
14
+ version='1.0.0',
15
+ description='Quicklook tool for level 2 SPICE imaging',
16
+ long_description=open('README.md').read(),
17
+ long_description_content_type='text/markdown',
18
+ author='David Picard',
19
+ author_email='david.picard@universite-paris-saclay.fr',
20
+ url='https://git.ias.u-psud.fr/spice/data_quicklook',
21
+ packages=find_packages(),
22
+ install_requires=load_requirements('requirements.txt'),
23
+ classifiers=[
24
+ 'Programming Language :: Python :: 3',
25
+ 'License :: OSI Approved :: MIT License',
26
+ ],
27
+ python_requires='>=3.7',
28
+ )
@@ -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,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ spiceitup.egg-info/PKG-INFO
5
+ spiceitup.egg-info/SOURCES.txt
6
+ spiceitup.egg-info/dependency_links.txt
7
+ spiceitup.egg-info/requires.txt
8
+ spiceitup.egg-info/top_level.txt
@@ -0,0 +1,6 @@
1
+ PyQt5
2
+ sunraster
3
+ pyqtgraph
4
+ qdarkgraystyle
5
+ scipy
6
+ opencv-python-headless