Skip to main content

*ChemometricsPy: A scientific Python library for chemometric modeling*.

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.1.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.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chemometricspy-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ef4051765838c633088049c39b51f0b0ef5b4f378e2931368fa04115d75c2c3f
MD5 6edb78eb685110d220660111a9dabf64
BLAKE2b-256 b6d16245b8fdf0484f6b68e1e501832c30073c8e1924220bf6b3393020f0b4c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chemometricspy-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfa57998ec37151a62cf1a8398a66988fed403895999ac93fcb0b9667167c818
MD5 769cdc564d01b32a23c57e447cabc357
BLAKE2b-256 d7189607f4b0c4efa55110bf65af9f072866c6ef279f88bcc4a6b693cc8cd67d

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