Skip to main content

Interpolate using a calibration curve

Project description

https://travis-ci.org/ginkgobioworks/calibrate.svg?branch=master

This is a simple tool that constructs a calibration curve using known x and y values from standards, and backout the x value for an unknown based on its measured y signal.

Features

  • Given x and y, creates calibration curve and finds linear portion and limits of linearity

  • Given y of an unknown, interpolates to find x

  • Computes interpolation error

Development

Development requires Docker and Make on your host system. Everything else is taken care of inside the Docker container.

Spin up your container using the provided docker-compose.yml file and Makefile by running make image. This creates an image with a correct git configuration for your user, which makes it easy to release. All of the commands you should need to run are defined the Makefile as targets. All of the targets except for image, are meant to be run inside the Docker container, but can be run from the host machine by having -ext appended to them. For example, to run tests, you could either call make test from a shell inside the container, or make test-ext from the host.

Dependencies are managed through the conda tool and defined in environment.yml. All new dependencies must be specified with a version, for a reproducible build environment.

All pull requests are run through the Travis CI process specified in .travis.yml and must pass all tests before being accepted.

Deployment

Deployment of tagged commits happens to PyPI automatically via Travis CI. To bump and deploy a new version directly, you must have access to write to the master branch. Run make bump/[foo]-ext, where [foo] is major, minor, or patch. Then git push origin --tags master. If you do not have access to the master branch, do the same thing, but in a separate branch, and make a pull request.

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

calibrate-0.10.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

calibrate-0.10.0-py2-none-any.whl (7.5 kB view details)

Uploaded Python 2

File details

Details for the file calibrate-0.10.0.tar.gz.

File metadata

  • Download URL: calibrate-0.10.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for calibrate-0.10.0.tar.gz
Algorithm Hash digest
SHA256 e5a637ce77e285b9a47d5de79d6bb9b1dce0df1e60eb27cdf1eda1e89c32c8e1
MD5 2d3ff07a9d352c008713859009bb2e22
BLAKE2b-256 97cccde2e4cf13f0d36b5a4098be4aa84e016ff049a69bc18ad417250bef23b4

See more details on using hashes here.

File details

Details for the file calibrate-0.10.0-py2-none-any.whl.

File metadata

File hashes

Hashes for calibrate-0.10.0-py2-none-any.whl
Algorithm Hash digest
SHA256 7cf8c012f197876b7c95f4b168013bef5a29f4bd6a69f16c2266074f43ee18bf
MD5 b22326490b78bda0148213ce288c0884
BLAKE2b-256 ea5fcad6a63b0dae44edb88685217fc2ee41aba3b10667cba6baab1c9cd121ad

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