Extract HPLC data from Agilent out.txt file and much more.
A Python 3 script for (hassle-free) plotting of HPLC chromatograms from output files with baseline correction, peak detection and retention time determination through curve fitting.
Start the script with:
python3 weaselytics.py [OPTION] filenameit will show the chromatogram... (to complete)
filename, required: filename (.txt)-s, optional: shows thematplotlibwindow(s)-p, optional: prints thematplotlibwindow(s)-e, optional: exports the baseline corrected data tofilename_bl.txt-o, optional: outputs the data tofilename.csv-osstr, optional: outputs the fitted data and statistiques for the peak labeled<ARG>tofilename_<ARG>.csv-n, optional: does not try to fit a chromatographic peak-nb, optional: does not try to baseline correct the chromatogram-x0float, optional: starts fitting procedure atx0min (x0 > 0)-x1float, optional: ends fitting procedure atx1min (x1 > x0 > 0)
(TO UPDATE)
(TO UPDATE)
(TO UPDATE)
-
re -
sys -
os -
argparse -
numpy -
pandas -
matplotlib -
seaborn -
scipy -
pybaselines(development branch) -
numba -
statsmodels -
time
Contributed by Emmanuel Bourret
-
Refactor the main code into a package.
-
Add smoothing function before the baseline correction.