:orphan:
.. _sphx_glr_tutorial-read:
Reading data
------------
The main resistics package supports two time data formats and two calibration
data formats.
For time data:
- ASCII (including compressed ASCII, e.g. bz2)
- numpy .npy
Where possible, it is recommended to use the numpy data format for time data
as this is quicker to read from. Whilst it is a binary format, it is portable
and well supported by the numpy package.
For calibration data, resistics supports:
- Text file calibration data
- JSON calibration data
The structure of these two calibration data formats can be seen in the relevant
examples.
.. note::
Support for other data formats is provided by the resistics-readers package.
This includes support for Metronix ATS data, SPAM RAW data, Phoenix TS data,
Lemi data and potentially more in the future.
.. raw:: html
.. only:: html
.. figure:: /tutorial-read/images/thumb/sphx_glr_eg_01_read_time_ascii_thumb.png
:alt: Time data ASCII
:ref:`sphx_glr_tutorial-read_eg_01_read_time_ascii.py`
.. raw:: html
.. toctree::
:hidden:
/tutorial-read/eg_01_read_time_ascii
.. raw:: html
.. only:: html
.. figure:: /tutorial-read/images/thumb/sphx_glr_eg_02_read_time_bz2_thumb.png
:alt: Time data bz2
:ref:`sphx_glr_tutorial-read_eg_02_read_time_bz2.py`
.. raw:: html
.. toctree::
:hidden:
/tutorial-read/eg_02_read_time_bz2
.. raw:: html
.. only:: html
.. figure:: /tutorial-read/images/thumb/sphx_glr_eg_03_read_time_binary_thumb.png
:alt: Time data binary
:ref:`sphx_glr_tutorial-read_eg_03_read_time_binary.py`
.. raw:: html
.. toctree::
:hidden:
/tutorial-read/eg_03_read_time_binary
.. raw:: html
.. only:: html
.. figure:: /tutorial-read/images/thumb/sphx_glr_eg_04_read_calibration_json_thumb.png
:alt: Calibration data JSON
:ref:`sphx_glr_tutorial-read_eg_04_read_calibration_json.py`
.. raw:: html
.. toctree::
:hidden:
/tutorial-read/eg_04_read_calibration_json
.. raw:: html
.. only:: html
.. figure:: /tutorial-read/images/thumb/sphx_glr_eg_05_read_calibration_txt_thumb.png
:alt: Calibration data TXT
:ref:`sphx_glr_tutorial-read_eg_05_read_calibration_txt.py`
.. raw:: html
.. toctree::
:hidden:
/tutorial-read/eg_05_read_calibration_txt
.. raw:: html
.. only :: html
.. container:: sphx-glr-footer
:class: sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: tutorial-read_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: tutorial-read_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_