Skip to main content

A tool to parse QTMtoolbox data into a data class

Project description

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qtmimport-1.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qtmimport-1.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file qtmimport-1.1.0.tar.gz.

File metadata

  • Download URL: qtmimport-1.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12

File hashes

Hashes for qtmimport-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4fcfdb02626789951b8ebe8885228a5002d9eeb7c2e4e663af67c01a0bb8e3fe
MD5 f54bafcf92a7ca271d1184915265f6af
BLAKE2b-256 1745c02f38bd31a6acfec750a990f7566a6df066e4abba0d874a3772aaafd6a9

See more details on using hashes here.

File details

Details for the file qtmimport-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qtmimport-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.12

File hashes

Hashes for qtmimport-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d646e9fe8edc5fcb51cb9218a896990ddaaba3bd3811ce34fee72bcaa0a479
MD5 0aa8fba9a4d82dd2b4a17439c6706f52
BLAKE2b-256 17281e8eb67a9c9f1fc7811f7410cb13079c4cc0d65bcb8c9f5af44516553b21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page