Skip to main content

A modern Python library for multivariate calibration, preprocessing, and design of experiments.

Project description

ChemometricsPy

ChemometricsPy is a modern, modular chemometrics library for Python, designed to support a wide range of multivariate methods in analytical chemistry, chemical engineering, and process optimization.

Currently, the package includes powerful tools for Design of Experiments (DOE) such as:

  • Full factorial design
  • Fractional factorial design with automatic resolution checking (III, IV, V)
  • Central Composite Design (CCD) — rotatable and face-centered
  • Box-Behnken Design (BBD)
  • Built-in plotting functions and residual diagnostics

Future modules will include:

  • Preprocessing (SNV, MSC, derivatives)
  • Univariate and multivariate calibration (PLS, PCR, SVM)
  • Exploratory analysis (PCA)
  • Neural networks for chemometrics

Installation

pip install chemometricspy

Example

from chemometricspy.doe import Factorial

f = Factorial(number_of_factors=3, factor_names=["pH", "Temp", "Conc"], center_points=4)
df = f.generate_codified_matrix()
f.calculate_effects(responses=[20, 22, 25, 24, 23, 21, 20, 22, 23, 23])
f.plot_pareto_effects()

Author

Developed by Leonardo Guimarães
Email: leo.sguimaraes4@gmail.com

Citation

If you use this library in your research or publication, please cite it as:

Guimarães, L. (2025). ChemometricsPy: A scientific Python library for chemometric modeling. Version 0.1.0. https://pypi.org/project/chemometricspy

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

chemometricspy-0.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

chemometricspy-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chemometricspy-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for chemometricspy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e0de3d7fac58af737ffc42ae99c37ebc0523a9fc39a0866eded914dc0778cedd
MD5 dc6d13abb7bdbe84a394ab1196c25d6d
BLAKE2b-256 8ac9f60c29d7a1b1e7ef3e08055d00c0f7c2ea5d928e5d03bde7ba02928564b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chemometricspy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for chemometricspy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8137fbc26c943f68eb083e619cb3d42b391a7fecb8bdbd30b78a2020caab45d6
MD5 4f0f95f57b376e9f1c68a26a95c15849
BLAKE2b-256 aa77eb2f6be92bd6fdb5450ff444c5a9246d798069b02ae26b367bdaff065ff9

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