Metadata-Version: 2.1
Name: qtmimport
Version: 1.1.0
Summary: A tool to parse QTMtoolbox data into a data class
Project-URL: QTMtoolbox, https://github.com/ICE-QTM/QTMtoolbox
Project-URL: QTMimport, https://github.com/ICE-QTM/QTMtoolbox/blob/master/functions/qtmimport.py
Author-email: Daan Wielens <d.h.wielens@utwente.nl>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: numpy
Description-Content-Type: text/markdown

# QTMimport
This small module opens data files generated by the QTMtoolbox (.csv format) and parses the data into a single object (class).
Each variable that was measured is an attribute of this class, and contains the header name, data, etc. 

### Dependencies
This module uses **numpy**.

### Usage
To import the module, use 
```
from qtmimport import qtmimport
```

Then, to parse data, use
```
data_object = qtmimport.parse_data(filename)
```

The `data_object` will contain data in the following form:
```
Data structure:
    
    list QTMdata:
        |
        |--> class "variable"
                |
                |--> index (must be unique!)
                |
                |--> header name (not unique, e.g. for <sweep> when 
                |                 you both sweep and read a variable)
                |
                |--> data array 
				|--> variable type (s = SETpoint, g = GET value (measured value))
```
