Skip to main content

Calib-RT is designed for RT (retention time) calibration.

Project description

Version

This document is for version 0.1.0 of calib_rt.

Calib-RT

Calib-RT is an open-source Python software package designed for RT (retention time) calibration. This package provides a flexible and robust solution for achieving accurate RT calibration across various data scales while handling a certain level of noise interference.

The workflow diagram is below, providing an overview of the process. For a comprehensive and in-depth explanation, please refer to the associated paper for detailed insights and analysis.

Your Image

Installation

To use calib_rt, make sure you have the following dependencies installed:

  • Python (>= 3.10)
  • numpy (>= 1.26.0)
  • pandas (>= 2.1.1)
  • networkx (>= 3.1)
  • statsmodels (>= 0.14.0)
  • scipy (>= 1.11.3)

You can install the calib_rt package using pip:

pip install pycalib_rt 

Usage

Here is an example of how to use Calib-RT for retention time calibration:

import calib_rt
# basic information of all built-in datasets 
calib_rt.RTdatasets.get_datasets_list()  
         sample_type  datasets_num
   0   distort_left             2
   1  distort_right             2
   2            exp             2
   3         linear             2
   4              S             2
# use first of "S" type datasets
datasets = calib_rt.RTdatasets.get_pandas(sample_type="S",index_in_group=1)
x = datasets["Spectral library RT"]
y = datasets["Measured RT"]
# fit and predict
model = calib_rt.Calib_RT() 
model.fit(x,y)
y_pred = model.predict(x)         

Performance test

Your Image

For a detailed analysis of the test conclusion and all performance test results, please refer to the full paper.

References

link of paper

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

pycalib_rt-0.1.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

pycalib_rt-0.1.0-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file pycalib_rt-0.1.0.tar.gz.

File metadata

  • Download URL: pycalib_rt-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pycalib_rt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1cfccae175238565817dc50d05e74359bd8bf73b7b1a99854a2daf01c81c554a
MD5 fb15902b8c4bf0d8519c93ca32f6b370
BLAKE2b-256 a0f7b36225d14c9879fed9f8895589ae91dc022332df93616c687d3a1b32fd48

See more details on using hashes here.

File details

Details for the file pycalib_rt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycalib_rt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pycalib_rt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b97c48edd109a0ce017c9eb0747cae122e4a7eed09277925122c022331852018
MD5 81003cc9dadbbdd7194735cef3350ddd
BLAKE2b-256 1444d077eae35ed6001d57f29ea5aa7db0f0b95d8ccec3440c0be62692427e4f

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