pymodaq_data 5.1.7__tar.gz → 5.2.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.
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/PKG-INFO +30 -28
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/README.rst +22 -22
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/pyproject.toml +6 -5
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/__init__.py +5 -3
- pymodaq_data-5.2.0/src/pymodaq_data/config.py +11 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/data.py +376 -50
- pymodaq_data-5.2.0/src/pymodaq_data/h5modules/__init__.py +123 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/backends.py +162 -15
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/browsing.py +12 -8
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/data_saving.py +125 -39
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/exporter.py +1 -1
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/exporters/hyperspy.py +2 -2
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/saving.py +109 -20
- pymodaq_data-5.2.0/src/pymodaq_data/h5modules/swmr.py +108 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/numpy_func.py +2 -2
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/plotting/plotter/plotters/matplotlib_plotters.py +5 -4
- pymodaq_data-5.2.0/src/pymodaq_data/plotting/utils.py +52 -0
- pymodaq_data-5.2.0/src/pymodaq_data/resources/__init__.py +0 -0
- pymodaq_data-5.2.0/src/pymodaq_data/resources/config_template.toml +28 -0
- pymodaq_data-5.1.7/src/pymodaq_data/h5modules/__init__.py +0 -6
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/.gitignore +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/LICENSE +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/exporters/__init__.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/exporters/base.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/exporters/flimj.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/h5modules/utils.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/icon.ico +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/plotting/__init__.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/plotting/plotter/plotter.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/plotting/plotter/plotters/__init__.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/post_treatment/__init__.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/post_treatment/process_to_scalar.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/slicing.py +0 -0
- {pymodaq_data-5.1.7 → pymodaq_data-5.2.0}/src/pymodaq_data/splash.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymodaq_data
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.2.0
|
|
4
4
|
Summary: Modular Data Acquisition with Python
|
|
5
5
|
Project-URL: Homepage, http://pymodaq.cnrs.fr
|
|
6
6
|
Project-URL: Source, https://github.com/PyMoDAQ/PyMoDAQ
|
|
@@ -34,26 +34,28 @@ Classifier: Intended Audience :: Science/Research
|
|
|
34
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
35
35
|
Classifier: Natural Language :: English
|
|
36
36
|
Classifier: Operating System :: OS Independent
|
|
37
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
38
37
|
Classifier: Programming Language :: Python :: 3.10
|
|
39
38
|
Classifier: Programming Language :: Python :: 3.11
|
|
40
39
|
Classifier: Programming Language :: Python :: 3.12
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
41
41
|
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
|
|
42
42
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
43
43
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
44
44
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
45
|
-
Requires-Python: >=3.
|
|
45
|
+
Requires-Python: >=3.10
|
|
46
|
+
Requires-Dist: h5py
|
|
46
47
|
Requires-Dist: pymodaq-utils>=0.0.8
|
|
47
48
|
Requires-Dist: scipy
|
|
48
|
-
Requires-Dist: tables<3.9; python_version < '3.10'
|
|
49
|
-
Requires-Dist: tables>=3.10; python_version >= '3.10'
|
|
50
49
|
Provides-Extra: dev
|
|
51
50
|
Requires-Dist: flake8; extra == 'dev'
|
|
52
|
-
Requires-Dist: h5py; extra == 'dev'
|
|
51
|
+
Requires-Dist: h5py>=2.5.0; extra == 'dev'
|
|
53
52
|
Requires-Dist: hatch; extra == 'dev'
|
|
54
53
|
Requires-Dist: pytest; extra == 'dev'
|
|
55
54
|
Requires-Dist: pytest-cov; extra == 'dev'
|
|
56
55
|
Requires-Dist: pytest-xdist; extra == 'dev'
|
|
56
|
+
Requires-Dist: tables>=3.10; extra == 'dev'
|
|
57
|
+
Provides-Extra: xarray
|
|
58
|
+
Requires-Dist: xarray>=2024.10; extra == 'xarray'
|
|
57
59
|
Description-Content-Type: text/x-rst
|
|
58
60
|
|
|
59
61
|
.. ############################################################
|
|
@@ -69,52 +71,52 @@ PyMoDAQ Data
|
|
|
69
71
|
:target: https://pypi.org/project/pymodaq_data/
|
|
70
72
|
:alt: Latest Version
|
|
71
73
|
|
|
72
|
-
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=
|
|
73
|
-
:target: https://pymodaq.readthedocs.io/en/stable/?badge=
|
|
74
|
+
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=malik-irain-patch-2
|
|
75
|
+
:target: https://pymodaq.readthedocs.io/en/stable/?badge=malik-irain-patch-2
|
|
74
76
|
:alt: Documentation Status
|
|
75
77
|
|
|
76
|
-
.. image:: https://codecov.io/gh/PyMoDAQ/
|
|
77
|
-
:target: https://codecov.io/gh/PyMoDAQ/
|
|
78
|
+
.. image:: https://codecov.io/gh/PyMoDAQ/PyMoDAQ/branch/malik-irain-patch-2/graph/badge.svg?token=IQNJRCQDM2
|
|
79
|
+
:target: https://codecov.io/gh/PyMoDAQ/PyMoDAQ
|
|
78
80
|
|
|
79
81
|
+-------------+-------------+---------------+
|
|
80
82
|
| | Linux | Windows |
|
|
81
83
|
+=============+=============+===============+
|
|
82
|
-
| Python 3.9 | |39-linux| | |39-windows| |
|
|
83
|
-
+-------------+-------------+---------------+
|
|
84
84
|
| Python 3.10 | |310-linux| | |310-windows| |
|
|
85
85
|
+-------------+-------------+---------------+
|
|
86
86
|
| Python 3.11 | |311-linux| | |311-windows| |
|
|
87
87
|
+-------------+-------------+---------------+
|
|
88
88
|
| Python 3.12 | |312-linux| | |312-windows| |
|
|
89
89
|
+-------------+-------------+---------------+
|
|
90
|
+
| Python 3.13 | |313-linux| | |313-windows| |
|
|
91
|
+
+-------------+-------------+---------------+
|
|
90
92
|
|
|
91
93
|
|
|
92
94
|
|
|
93
95
|
|
|
94
|
-
.. |39-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.1.x/tests_Linux_3.9.svg
|
|
95
|
-
:target: https://github.com/PyMoDAQ/pymodaq_data/actions/workflows/tests-data.yml
|
|
96
96
|
|
|
97
|
-
.. |310-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
98
|
-
:target: https://github.com/PyMoDAQ/
|
|
97
|
+
.. |310-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.10.svg
|
|
98
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
99
99
|
|
|
100
|
-
.. |311-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
101
|
-
:target: https://github.com/PyMoDAQ/
|
|
100
|
+
.. |311-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.11.svg
|
|
101
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
102
102
|
|
|
103
|
-
.. |312-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
104
|
-
:target: https://github.com/PyMoDAQ/
|
|
103
|
+
.. |312-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.12.svg
|
|
104
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
105
105
|
|
|
106
|
-
.. |
|
|
107
|
-
:target: https://github.com/PyMoDAQ/
|
|
106
|
+
.. |313-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.13.svg
|
|
107
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
108
108
|
|
|
109
|
-
.. |310-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
110
|
-
:target: https://github.com/PyMoDAQ/
|
|
109
|
+
.. |310-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.10.svg
|
|
110
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
111
111
|
|
|
112
|
-
.. |311-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
113
|
-
:target: https://github.com/PyMoDAQ/
|
|
112
|
+
.. |311-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.11.svg
|
|
113
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
114
114
|
|
|
115
|
-
.. |312-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
116
|
-
:target: https://github.com/PyMoDAQ/
|
|
115
|
+
.. |312-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.12.svg
|
|
116
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
117
117
|
|
|
118
|
+
.. |313-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.13.svg
|
|
119
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
118
120
|
|
|
119
121
|
|
|
120
122
|
|
|
@@ -11,52 +11,52 @@ PyMoDAQ Data
|
|
|
11
11
|
:target: https://pypi.org/project/pymodaq_data/
|
|
12
12
|
:alt: Latest Version
|
|
13
13
|
|
|
14
|
-
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=
|
|
15
|
-
:target: https://pymodaq.readthedocs.io/en/stable/?badge=
|
|
14
|
+
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=malik-irain-patch-2
|
|
15
|
+
:target: https://pymodaq.readthedocs.io/en/stable/?badge=malik-irain-patch-2
|
|
16
16
|
:alt: Documentation Status
|
|
17
17
|
|
|
18
|
-
.. image:: https://codecov.io/gh/PyMoDAQ/
|
|
19
|
-
:target: https://codecov.io/gh/PyMoDAQ/
|
|
18
|
+
.. image:: https://codecov.io/gh/PyMoDAQ/PyMoDAQ/branch/malik-irain-patch-2/graph/badge.svg?token=IQNJRCQDM2
|
|
19
|
+
:target: https://codecov.io/gh/PyMoDAQ/PyMoDAQ
|
|
20
20
|
|
|
21
21
|
+-------------+-------------+---------------+
|
|
22
22
|
| | Linux | Windows |
|
|
23
23
|
+=============+=============+===============+
|
|
24
|
-
| Python 3.9 | |39-linux| | |39-windows| |
|
|
25
|
-
+-------------+-------------+---------------+
|
|
26
24
|
| Python 3.10 | |310-linux| | |310-windows| |
|
|
27
25
|
+-------------+-------------+---------------+
|
|
28
26
|
| Python 3.11 | |311-linux| | |311-windows| |
|
|
29
27
|
+-------------+-------------+---------------+
|
|
30
28
|
| Python 3.12 | |312-linux| | |312-windows| |
|
|
31
29
|
+-------------+-------------+---------------+
|
|
30
|
+
| Python 3.13 | |313-linux| | |313-windows| |
|
|
31
|
+
+-------------+-------------+---------------+
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
.. |39-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.1.x/tests_Linux_3.9.svg
|
|
37
|
-
:target: https://github.com/PyMoDAQ/pymodaq_data/actions/workflows/tests-data.yml
|
|
38
36
|
|
|
39
|
-
.. |310-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
40
|
-
:target: https://github.com/PyMoDAQ/
|
|
37
|
+
.. |310-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.10.svg
|
|
38
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
41
39
|
|
|
42
|
-
.. |311-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
43
|
-
:target: https://github.com/PyMoDAQ/
|
|
40
|
+
.. |311-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.11.svg
|
|
41
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
44
42
|
|
|
45
|
-
.. |312-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
46
|
-
:target: https://github.com/PyMoDAQ/
|
|
43
|
+
.. |312-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.12.svg
|
|
44
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
47
45
|
|
|
48
|
-
.. |
|
|
49
|
-
:target: https://github.com/PyMoDAQ/
|
|
46
|
+
.. |313-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Linux_3.13.svg
|
|
47
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
50
48
|
|
|
51
|
-
.. |310-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
52
|
-
:target: https://github.com/PyMoDAQ/
|
|
49
|
+
.. |310-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.10.svg
|
|
50
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
53
51
|
|
|
54
|
-
.. |311-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
55
|
-
:target: https://github.com/PyMoDAQ/
|
|
52
|
+
.. |311-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.11.svg
|
|
53
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
56
54
|
|
|
57
|
-
.. |312-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/
|
|
58
|
-
:target: https://github.com/PyMoDAQ/
|
|
55
|
+
.. |312-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.12.svg
|
|
56
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
59
57
|
|
|
58
|
+
.. |313-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/malik-irain-patch-2/tests_Windows_3.13.svg
|
|
59
|
+
:target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
@@ -10,7 +10,7 @@ dynamic = [
|
|
|
10
10
|
description = "Modular Data Acquisition with Python"
|
|
11
11
|
readme = "README.rst"
|
|
12
12
|
license = { file="LICENSE" }
|
|
13
|
-
requires-python = ">=3.
|
|
13
|
+
requires-python = ">=3.10"
|
|
14
14
|
authors = [
|
|
15
15
|
{ name = "Sébastien Weber", email = "sebastien.weber@cemes.fr" },
|
|
16
16
|
]
|
|
@@ -21,10 +21,10 @@ classifiers = [
|
|
|
21
21
|
"License :: OSI Approved :: MIT License",
|
|
22
22
|
"Natural Language :: English",
|
|
23
23
|
"Operating System :: OS Independent",
|
|
24
|
-
"Programming Language :: Python :: 3.9",
|
|
25
24
|
"Programming Language :: Python :: 3.10",
|
|
26
25
|
"Programming Language :: Python :: 3.11",
|
|
27
26
|
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Programming Language :: Python :: 3.13",
|
|
28
28
|
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
|
|
29
29
|
"Topic :: Scientific/Engineering :: Visualization",
|
|
30
30
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
@@ -33,15 +33,16 @@ classifiers = [
|
|
|
33
33
|
dependencies = [
|
|
34
34
|
"pymodaq_utils>=0.0.8",
|
|
35
35
|
"scipy",
|
|
36
|
-
"
|
|
37
|
-
"tables<3.9; python_version<\"3.10\"", # issue with some version of required package blosc2>=2.2.8
|
|
36
|
+
"h5py",
|
|
38
37
|
]
|
|
39
38
|
|
|
40
39
|
[project.optional-dependencies]
|
|
40
|
+
xarray = ["xarray>=2024.10"]
|
|
41
41
|
dev = [
|
|
42
42
|
"hatch",
|
|
43
43
|
"flake8",
|
|
44
|
-
"h5py",
|
|
44
|
+
"h5py>=2.5.0",
|
|
45
|
+
"tables>=3.10",
|
|
45
46
|
"pytest",
|
|
46
47
|
"pytest-cov",
|
|
47
48
|
"pytest-xdist",
|
|
@@ -13,13 +13,14 @@ try:
|
|
|
13
13
|
try:
|
|
14
14
|
logger = set_logger('pymodaq_data', add_handler=True, base_logger=True)
|
|
15
15
|
except Exception:
|
|
16
|
-
print("Couldn't create the local folder to store logs ,
|
|
16
|
+
print("Couldn't create the local folder to store logs , experiments...")
|
|
17
17
|
|
|
18
|
+
import pymodaq_data.config
|
|
18
19
|
logger.info('************************')
|
|
19
20
|
logger.info('Initializing the pint unit register')
|
|
20
21
|
logger.info('************************')
|
|
21
22
|
ureg = UnitRegistry()
|
|
22
|
-
ureg.default_format = '~'
|
|
23
|
+
ureg.formatter.default_format = '~'
|
|
23
24
|
Q_ = ureg.Quantity
|
|
24
25
|
Unit = ureg.Unit
|
|
25
26
|
logger.info('')
|
|
@@ -45,7 +46,8 @@ try:
|
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
from pymodaq_data.data import (DataRaw, DataWithAxes, DataToExport, Axis,
|
|
48
|
-
DataCalculated, DataDim, DataDistribution, DataSource, DataBase
|
|
49
|
+
DataCalculated, DataDim, DataDistribution, DataSource, DataBase,
|
|
50
|
+
)
|
|
49
51
|
|
|
50
52
|
except Exception as e:
|
|
51
53
|
try:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
from pymodaq_utils.config import (GlobalConfig, BaseConfig)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@GlobalConfig.register()
|
|
7
|
+
class Config(BaseConfig):
|
|
8
|
+
"""Main class to deal with configuration values for this plugin"""
|
|
9
|
+
config_template_path = Path(__file__).parent.joinpath('resources/config_template.toml')
|
|
10
|
+
config_name = f"data"
|
|
11
|
+
|