Skip to main content

A Python package to load raw DTS files, perform a calibration, and plot the result

Project description

A Python package to load raw DTS files, perform a calibration, and plot the result

  • Free software: BSD 3-Clause License

Installation

pip install dtscalibration

Or the development version directly from GitHub

pip install https://github.com/dtscalibration/python-dts-calibration/zipball/master --upgrade

Learn by examples

Interactively run the example notebooks online by clicking the launch-binder button.

Documentation

https://python-dts-calibration.readthedocs.io/

Changelog

0.6.3 (2019-04-03)

  • Added reading support for zipped silixa files. Still rarely fails due to upstream bug.

  • pretty __repr__

  • Reworked double ended calibration procedure. Integrated differential attenuation outside of reference sections is now calculated seperately.

  • New approach for estimation of Stokes variance. Not restricted to a decaying exponential

  • Bug in averaging TMPF and TMPB to TMPW

  • Modified residuals plot, especially useful for long fibers (Great work Bart!)

  • Example notebooks updatred accordingly

  • Bug in to_netcdf when passing encodings

  • Better support for sections that are not related to a timeseries.

0.6.2 (2019-02-26)

  • Double-ended weighted calibration procedure is rewritten so that the integrated differential attenuation outside of the reference sections is calculated seperately. Better memory usage and faster

  • Other calibration routines cleaned up

  • Official support for Python 3.7

  • Coverage figures are now trustworthy

  • String representation improved

  • Include test for aligning double ended measurements

  • Example for aligning double ended measurements

0.6.1 (2019-01-04)

  • Many examples were shown in the documentation

  • Fixed verbose settings of solvers

  • Revised example notebooks

  • Moved to 80 characters per line (PEP)

  • More Python formatting using YAPF

  • Use example of plot_residuals_reference_sections function in Stokes variance example notebook

  • Support Python 3.7

0.6.0 (2018-12-08)

  • Reworked the double-ended calibration routine and the routine for confidence intervals. The integrated differential attenuation is not zero at x=0 anymore.

  • Verbose commands carpentry

  • Bug fixed that would make the read_silixa routine crash if there are copies of the same file in the same folder

  • Routine to read sensornet files. Only single-ended configurations supported for now. Anyone has double-ended measurements?

  • Lazy calculation of the confidence intervals

  • Bug solved. The x-coordinates where not calculated correctly. The bug only appeared for measurements along long cables.

  • Example notebook of importing a timeseries. For example, importing measurments from an external temperature sensor for calibration.

  • Updated documentation

0.5.3 (2018-10-26)

  • No changes

0.5.2 (2018-10-26)

  • New resample_datastore method (see basic usage notebook)

  • New notebook on basic usage of DataStore

  • Support for Silixa v4 (Windows xp based system) and Silixa v6 (Windows 7) measurement files

  • The representation string now includes the sections

  • Reorganized the IO related files

  • CI: Add appveyor to continuesly test on Windows platform

  • Auto load Silixa files to memory option, if size is small

0.5.1 (2018-10-19)

  • Rewritten the routine that reads Silixa measurement files

  • dts-calibration is now citable

  • Refractored the MC confidence interval routine

  • MC confidence interval routine speed up, with full dask support

  • Link to mybinder.org to try the example notebooks online

  • Added a few missing dependencies

  • The routine to read the Silixa files is completely refractored. Faster, smarter. Supports both the path to a directory and a list of file paths.

  • Changed imports from dtscalibration to be relative

0.4.0 (2018-09-06)

  • Single ended calibration

  • Confidence intervals for single ended calibration

  • Example notebooks have figures embedded

  • Several bugs squashed

  • Reorganized DataStore functions

0.2.0 (2018-08-16)

  • Double ended calibration

  • Confidence intervals for double ended calibration

0.1.0 (2018-08-01)

  • First release on PyPI.

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

dtscalibration-0.6.4.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

dtscalibration-0.6.4-py2.py3-none-any.whl (43.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dtscalibration-0.6.4.tar.gz.

File metadata

  • Download URL: dtscalibration-0.6.4.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for dtscalibration-0.6.4.tar.gz
Algorithm Hash digest
SHA256 74d4db57b0a4827bf88e44624c23c712824ce0fd08c1b199fd0d3385042ae4e3
MD5 c62783958cf176948465e04b919e2d1f
BLAKE2b-256 c8734ea24598f06a28a79c183587421fa5dbb1f07ff04e0c0d3181067ce7b9dc

See more details on using hashes here.

File details

Details for the file dtscalibration-0.6.4-py2.py3-none-any.whl.

File metadata

  • Download URL: dtscalibration-0.6.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for dtscalibration-0.6.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16ad014a39916743223d8ac7ef738204ae841a38feae3bfb10fdd424eac074f2
MD5 4902d737a10a513f50f7bb6c34fb5f8e
BLAKE2b-256 e366f922d7798f93132431fa191633ca378e2c4a3fff40367ffec870ec1c26db

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page