Skip to main content

Simple-to-understand and robust data storage for experimental data

Project description

This procedural data storage package provides a self-contained interface focused exclusively on storing and reading experimental data, using an approach independent of the specific measurement framework used for instrument control.

The main goals are to provide an interface that:

  • Automatically stores a lot of metadata, including parameters that change during a measurement.

  • Is procedural rather than functional in terms of the API the experimenter sees, as procedural programming tends to be easier to understand for a typical experimental physicist.

  • Uses standard Python flow-control constructs (for, while, if, etc.) for looping over setpoints.

  • The API aims to be self-explanatory, wherever possible.

In practice, the experimenter calls an explicit add_points(<new data points>) function to add rows to a traditional table of data points, with user-defined columns. In the background, pdata automatically records all changes to instrument parameters each time add_points is called.

In addition, pdata provides useful helpers for reading back the data, including automatically recorded instrument parameters, basic helpers for visualization, and good export capabilities to other tools for further analysis.

Getting started/Full documentation

See the documentation at RTD for instructions on getting started.

MIT License

Copyright (c) 2016 Joonas Govenius

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.

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

proceduraldata-2.0.4.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

proceduraldata-2.0.4-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file proceduraldata-2.0.4.tar.gz.

File metadata

  • Download URL: proceduraldata-2.0.4.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for proceduraldata-2.0.4.tar.gz
Algorithm Hash digest
SHA256 0012dcaf94860aaf7beb14b42fd03cebace365e3ccaf55303bd4f5e757944f6d
MD5 2b839160911ff3dc9dd34c4fbc1e03d9
BLAKE2b-256 78c1047b2cb73015d61fa2fdb6a641ddb72692cdcf9fc9325551e96c26f6d7f5

See more details on using hashes here.

File details

Details for the file proceduraldata-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for proceduraldata-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2e82f5f312fb863815230a21043b1af0f8bd6f9d85d2da094579c02f2587227f
MD5 8a32559ceb30e8a8661ae22fc2324859
BLAKE2b-256 71bbbe58cbd392f614bd51796fa09a663ea59b59c3b941da2c29c4e1c2e5ccf4

See more details on using hashes here.

Supported by

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