datview 1.4.0__tar.gz → 2.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.
- {datview-1.4.0 → datview-2.0.0}/PKG-INFO +11 -18
- {datview-1.4.0 → datview-2.0.0}/README.md +7 -15
- datview-2.0.0/datview/__init__.py +1 -0
- datview-2.0.0/datview/lib/__init__.py +3 -0
- datview-2.0.0/datview/lib/interactions.py +737 -0
- datview-2.0.0/datview/lib/rendering.py +2257 -0
- {datview-1.4.0 → datview-2.0.0}/datview/lib/utilities.py +110 -16
- {datview-1.4.0 → datview-2.0.0}/datview/main.py +37 -9
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/PKG-INFO +11 -18
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/requires.txt +2 -1
- {datview-1.4.0 → datview-2.0.0}/setup.py +4 -3
- datview-1.4.0/datview/__init__.py +0 -1
- datview-1.4.0/datview/lib/__init__.py +0 -0
- datview-1.4.0/datview/lib/interactions.py +0 -1059
- datview-1.4.0/datview/lib/rendering.py +0 -1523
- {datview-1.4.0 → datview-2.0.0}/LICENSE +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview/assets/__init__.py +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview/assets/datview_icon.png +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/SOURCES.txt +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/dependency_links.txt +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/entry_points.txt +0 -0
- {datview-1.4.0 → datview-2.0.0}/datview.egg-info/top_level.txt +0 -0
- {datview-1.4.0 → datview-2.0.0}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datview
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: GUI software for viewing images, text, cine, and HDF files.
|
|
5
5
|
Home-page: https://github.com/algotom/datview
|
|
6
6
|
Download-URL: https://github.com/algotom/datview.git
|
|
7
7
|
Author: Nghia Vo
|
|
8
8
|
Author-email: nvo@bnl.gov
|
|
9
9
|
License: Apache 2.0
|
|
10
|
-
Keywords: HDF Viewer,CINE viewer,NXS Viewer,Image viewer,Data viewer
|
|
10
|
+
Keywords: HDF Viewer,CINE viewer,NXS Viewer,Image viewer,Data viewer,TEXT viewer
|
|
11
11
|
Platform: Any
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -21,7 +21,8 @@ License-File: LICENSE
|
|
|
21
21
|
Requires-Dist: h5py
|
|
22
22
|
Requires-Dist: hdf5plugin
|
|
23
23
|
Requires-Dist: pillow
|
|
24
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: PySide6
|
|
25
|
+
Requires-Dist: pyqtgraph
|
|
25
26
|
Dynamic: author
|
|
26
27
|
Dynamic: author-email
|
|
27
28
|
Dynamic: classifier
|
|
@@ -70,14 +71,17 @@ DatView has been developed following two key guidelines:
|
|
|
70
71
|
- Minimize dependencies and the codebase.
|
|
71
72
|
- Maximize functionality and maintainability.
|
|
72
73
|
|
|
73
|
-
For distributing the software through Pip and Conda, the software is structured
|
|
74
|
-
the RUI (Rendering-Utilities-Interactions) concept, which is a user-friendly
|
|
74
|
+
For distributing the software through Pip and Conda, the software is structured
|
|
75
|
+
based on the RUI (Rendering-Utilities-Interactions) concept, which is a user-friendly
|
|
75
76
|
adaptation of the MVC design pattern.
|
|
76
77
|
|
|
77
78
|
For the easiest usage, a monolithic codebase (**datview.py**) is provided,
|
|
78
79
|
allowing users to simply copy the file and run it without needing to install
|
|
79
80
|
the software through Pip or Conda, provided that their Python environment
|
|
80
|
-
includes
|
|
81
|
+
includes libraries in the requirements.txt.
|
|
82
|
+
|
|
83
|
+
Starting from version 2.0, PySide6 and pyqtgraph are used instead of Tkinter
|
|
84
|
+
and Matplotlib to improve responsiveness and performance.
|
|
81
85
|
|
|
82
86
|
Features
|
|
83
87
|
========
|
|
@@ -108,7 +112,7 @@ Features
|
|
|
108
112
|
- Viewing 1D or 2D datasets of an HDF file in table format.
|
|
109
113
|
- Opening multiple interactive viewers simultaneously.
|
|
110
114
|
- Saving a 2D array in a 3D dataset (HDF or CINE) as an image.
|
|
111
|
-
- Saving
|
|
115
|
+
- Saving the current line profile as a CSV file.
|
|
112
116
|
|
|
113
117
|
Installation
|
|
114
118
|
============
|
|
@@ -164,14 +168,3 @@ Generating the executable application
|
|
|
164
168
|
- Use the **build_exe_app.py** script and run the following command:
|
|
165
169
|
```commandline
|
|
166
170
|
python build_exe_app.py
|
|
167
|
-
|
|
168
|
-
Usage
|
|
169
|
-
=====
|
|
170
|
-
|
|
171
|
-
- Double-click an HDF or CINE file to display its metadata.
|
|
172
|
-
- Click "Interactive Viewer" to view images from a 3D dataset in an HDF file or
|
|
173
|
-
from a folder of TIFF files.
|
|
174
|
-
- Click "Save Image" to save the image you’re currently viewing in the
|
|
175
|
-
Interactive-Viewer window of an HDF file.
|
|
176
|
-
- Click "Save Table" to save a 1D or 2D array from an HDF dataset or a current line-profile
|
|
177
|
-
in interactive viewer, to a CSV file.
|
|
@@ -31,14 +31,17 @@ DatView has been developed following two key guidelines:
|
|
|
31
31
|
- Minimize dependencies and the codebase.
|
|
32
32
|
- Maximize functionality and maintainability.
|
|
33
33
|
|
|
34
|
-
For distributing the software through Pip and Conda, the software is structured
|
|
35
|
-
the RUI (Rendering-Utilities-Interactions) concept, which is a user-friendly
|
|
34
|
+
For distributing the software through Pip and Conda, the software is structured
|
|
35
|
+
based on the RUI (Rendering-Utilities-Interactions) concept, which is a user-friendly
|
|
36
36
|
adaptation of the MVC design pattern.
|
|
37
37
|
|
|
38
38
|
For the easiest usage, a monolithic codebase (**datview.py**) is provided,
|
|
39
39
|
allowing users to simply copy the file and run it without needing to install
|
|
40
40
|
the software through Pip or Conda, provided that their Python environment
|
|
41
|
-
includes
|
|
41
|
+
includes libraries in the requirements.txt.
|
|
42
|
+
|
|
43
|
+
Starting from version 2.0, PySide6 and pyqtgraph are used instead of Tkinter
|
|
44
|
+
and Matplotlib to improve responsiveness and performance.
|
|
42
45
|
|
|
43
46
|
Features
|
|
44
47
|
========
|
|
@@ -69,7 +72,7 @@ Features
|
|
|
69
72
|
- Viewing 1D or 2D datasets of an HDF file in table format.
|
|
70
73
|
- Opening multiple interactive viewers simultaneously.
|
|
71
74
|
- Saving a 2D array in a 3D dataset (HDF or CINE) as an image.
|
|
72
|
-
- Saving
|
|
75
|
+
- Saving the current line profile as a CSV file.
|
|
73
76
|
|
|
74
77
|
Installation
|
|
75
78
|
============
|
|
@@ -125,14 +128,3 @@ Generating the executable application
|
|
|
125
128
|
- Use the **build_exe_app.py** script and run the following command:
|
|
126
129
|
```commandline
|
|
127
130
|
python build_exe_app.py
|
|
128
|
-
|
|
129
|
-
Usage
|
|
130
|
-
=====
|
|
131
|
-
|
|
132
|
-
- Double-click an HDF or CINE file to display its metadata.
|
|
133
|
-
- Click "Interactive Viewer" to view images from a 3D dataset in an HDF file or
|
|
134
|
-
from a folder of TIFF files.
|
|
135
|
-
- Click "Save Image" to save the image you’re currently viewing in the
|
|
136
|
-
Interactive-Viewer window of an HDF file.
|
|
137
|
-
- Click "Save Table" to save a 1D or 2D array from an HDF dataset or a current line-profile
|
|
138
|
-
in interactive viewer, to a CSV file.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0"
|