Metadata-Version: 2.5
Name: pymodaq_data
Version: 5.3.13
Summary: Data model (typed data with axes and units), HDF5 saving and loading of PyMoDAQ, usable on its own
Project-URL: Homepage, http://pymodaq.cnrs.fr
Project-URL: Source, https://github.com/PyMoDAQ/PyMoDAQ
Project-URL: Tracker, https://github.com/PyMoDAQ/PyMoDAQ/issues
Author-email: Sébastien Weber <sebastien.weber@cemes.fr>
License: The MIT License (MIT)
        
        Copyright (c) 2021 Sebastien Weber <sebastien.weber@cemes.fr>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: User Interfaces
Requires-Python: >=3.10
Requires-Dist: h5py
Requires-Dist: pymodaq-utils>=0.0.8
Requires-Dist: scipy
Provides-Extra: dev
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: h5py>=2.5.0; extra == 'dev'
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: matplotlib; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest-xdist; extra == 'dev'
Requires-Dist: tables>=3.10; extra == 'dev'
Provides-Extra: xarray
Requires-Dist: xarray>=2024.10; extra == 'xarray'
Description-Content-Type: text/x-rst

.. ############################################################
..  WARNING: This file is AUTO-GENERATED from README.rst.tpl.
..                  ⚠️ DO NOT EDIT MANUALLY ⚠️
.. ############################################################


PyMoDAQ Data
############

.. image:: https://img.shields.io/pypi/v/pymodaq_data.svg
   :target: https://pypi.org/project/pymodaq_data/
   :alt: Latest Version

.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=5.3.x
   :target: https://pymodaq.readthedocs.io/en/stable/?badge=5.3.x
   :alt: Documentation Status

.. image:: https://codecov.io/gh/PyMoDAQ/PyMoDAQ/branch/5.3.x/graph/badge.svg?token=IQNJRCQDM2 
 :target: https://codecov.io/gh/PyMoDAQ/PyMoDAQ

+-------------+-------------+---------------+
|             | Linux       | Windows       |
+=============+=============+===============+
| Python 3.10 | |310-linux| | |310-windows| |
+-------------+-------------+---------------+
| Python 3.11 | |311-linux| | |311-windows| |
+-------------+-------------+---------------+
| Python 3.12 | |312-linux| | |312-windows| |
+-------------+-------------+---------------+
| Python 3.13 | |313-linux| | |313-windows| |
+-------------+-------------+---------------+





.. |310-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Linux_3.10.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |311-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Linux_3.11.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |312-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Linux_3.12.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |313-linux| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Linux_3.13.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |310-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Windows_3.10.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |311-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Windows_3.11.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |312-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Windows_3.12.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml

.. |313-windows| image:: https://raw.githubusercontent.com/PyMoDAQ/PyMoDAQ/badges/pymodaq_data/5.3.x/tests_Windows_3.13.svg
    :target: https://github.com/PyMoDAQ/PyMoDAQ/actions/workflows/tests-data.yml



.. figure:: http://pymodaq.cnrs.fr/en/latest/_static/splash.png
   :alt: shortcut


PyMoDAQ__ (Modular Data Acquisition with Python) is a free and open-source Python framework to control scientific
instruments (cameras, spectrometers, motorized stages, power meters, digitizers...) and acquire data, from a
graphical Dashboard or from scripts, with live data viewers, scans, logging and saving in HDF5 files. This package, ``pymodaq_data``, is its data model and data saving layer.

__ https://pymodaq.cnrs.fr/en/latest/

`PyMoDAQ data`__ is a set of utilities (constants, methods and classes) that are used
for Data Management. It is heavily used with the PyMoDAQ framework but can also be used as a standalone
package for data management in another context.

__ https://pymodaq.cnrs.fr/en/latest/developer_folder/data_management.html

What are Data?
--------------

Data are objects with many characteristics able to properly describe real data taken on an experiment
or calculated from theory:


*  a type: float, int, ...
*  a dimensionality: Data0D, Data1D, Data2D and higher
*  units (dealt with the pint python package)
*  axes
*  actual data as numpy arrays
*  uncertainty/error bars
* ...


.. figure:: https://pymodaq.cnrs.fr/en/latest/_images/data.png

   What is PyMoDAQ's data?.

The `PyMoDAQ Data` package
--------------------------

Because of this variety, `PyMoDAQ Data` introduce a set of objects including metadata (for instance the time of
acquisition) and various methods and properties to manipulate
them during analysis for instance (getting name, slicing, concatenating...),
save them and plot them (given you installed one of the available backend: *matplotlib* or *Qt* (
through the `pymodaq_gui` package)

To learn more, check the documentation__.

__ https://pymodaq.cnrs.fr/en/latest/data_management.html


Published under the MIT FREE SOFTWARE LICENSE

GitHub repo: https://github.com/PyMoDAQ

Homepage and documentation: https://pymodaq.cnrs.fr/en/latest/
