Skip to main content

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

Project description

Calib-RT

PyPI - Version

Overview

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

Code for performance test is available in the analysis. For a detailed analysis of the test conclusion, please refer to our 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.2.tar.gz (2.6 MB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pycalib_rt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bfd7dda47735f63553f32f43ef7cb0610e513cc23fc165cd1b5ac6a4396f37cc
MD5 985f599ffe0f5c5966ee1c5703704d2b
BLAKE2b-256 4a8da780553d77e2c72650220d3703eb43fad299d6222fbec74c961c670b3278

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