Skip to main content

Package to teach chemometrics in the context of fermentation processes

Project description

dtu.prosys

About this project 🚀

This project intends to be a didactic tool to teach spectroscopy and chemometrics in the context of fermentation technology. During my studies, I often felt that many courses were theory-based only due to the limited access to real-world data. For this reason, I have decided to distribute the data I generated during my studies hoping to improve the learning experience of future students.

This module contains:

  • Training data (spectra of different samples and the glucose concentration).
  • Fermentation spectra (spectra measured in real-time every minute).
  • Fermentation HPLC data (measured off-line every hour).
  • Common preprocessing operations used in chemometrics.
  • Workflow to train partial least squares (PLS) models.
  • Plotting functions for time-series and spectral data.

These functions can be used as a starting point for the, but more advanced users are encouradged to explore other packages to play with this data (e.g., scikit-learn, or scipy).

About the data 📈

This project provides two datasets (a training and a validation set). Both data sets were recorded at the Technical University of Denmark, at the PROSYS research center (department of Chemical and Biochemical engineering) during 2019. More information about the dataset can be found in the following article Transforming data to information: A parallel hybrid model for real-time state estimation in lignocellulosic ethanol fermentation

The training set

The training set contains the spectra of 20 semi-synthetic samples and their reference glucose concentration measured with high performance liquid chromatography (HPLC). The spectra were measured using attenuated total refractance mid infrared (ATR-MIR) spectroscopy.

Validation set

The validation contains spectra measured every minute during a lignocellulose to ethanol fermentation. These spectra were collected in real-time using the same ATR-MIR instrument, connected to a flow-cell. Moreover, the extracellular concentrations of glucose, xylose, ethanol, furfural and acetic acid were also measured every hour using HPLC.

Installation 💻

Dependencies

This project is build targetting Python >= 3.7 to ensure compatibility with Google Colab.

User installation pip

pip install -U dtuprosys

Quick start 🏁

A complete example of can be found in the example.ipynb. The raw data can be conviniently accessed using as the following commands:

from dtuprosys.datasets import load_train_data, load_fermentation_data

to access the training data

train_spectra, train_hplc = load_train_data()

to access the validation data:

fermentation_spectra, fermentation_hplc = load_fermentation_data()

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

fermentools-0.1.5.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

fermentools-0.1.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file fermentools-0.1.5.tar.gz.

File metadata

  • Download URL: fermentools-0.1.5.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for fermentools-0.1.5.tar.gz
Algorithm Hash digest
SHA256 39227c2d574bc11179f7bdde9587247c26af15843f152cc2eaa1f612ff23104f
MD5 7b9441c5b7369c8f82416da423922ddc
BLAKE2b-256 a86d15b434b206474bf648b34a0f0f1d4bc9330a43b8c5fa03a94eb950780826

See more details on using hashes here.

File details

Details for the file fermentools-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: fermentools-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for fermentools-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3c39b3d39178fa26139f4b4e4cb65d2d83c8b2b564346bf0509ab5f1626f7673
MD5 bc3e85553d65c1d2c5c8842a5946535d
BLAKE2b-256 cc0fce3f28267b813d013485afae2b2dbe2c7a87fc978b14fb81f956dda3315f

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