Skip to main content

Processing, analysis and modelling Spectroscopic data for Chemistry with Python

Project description


SpectroChemPy

Tests Actions Status codecov Conda PyPI version Docs DOI Conda

What is SpectroChemPy?

SpectroChemPy (SCPy) is a framework for processing, analyzing and modeling spectroscopic data for chemistry with Python. It is cross-platform (Linux, Windows, macOS) and features a lightweight core with optional plugins for domain-specific workflows.

Key Features

  • Core Data Structure: NDDataset object with labeled axes and metadata
  • Project Management: Work with multiple NDDataset objects simultaneously
  • Data Processing:
    • Physical units support
    • Mathematical operations, baseline correction, automatic subtraction
    • Generic FFT with plugin-specific post-processing
  • Analysis Tools:
    • SVD, PCA, MCR-ALS, EFA, PLS, fitting …
  • I/O Support:
    • Import from various experiment formats
    • Export to CSV, JCAMP-DX, MATLAB …
    • Plugin-based readers (NMR TopSpin, Carroucell …)
  • Plugin System:
    • Automatic discovery of optional plugins
    • Namespaced APIs: scp.nmr.read_topspin(...), scp.iris.IRIS()
    • Dataset accessors for plugin-bound operations

Official Plugins

Extend SpectroChemPy with official plugins (installed separately):

Plugin Install What it provides
spectrochempy-carroucell pip install spectrochempy-carroucell Carroucell experiment reader
spectrochempy-hypercomplex pip install spectrochempy-hypercomplex Quaternion / hypercomplex support
spectrochempy-iris pip install spectrochempy-iris 2D-IRIS analysis tools
spectrochempy-nmr pip install spectrochempy-nmr Bruker TopSpin reader, NMR-specific processing
spectrochempy-tensor pip install spectrochempy-tensor Tensor learning tools

Or via conda from the spectrocat channel (conda-forge provides the dependencies):

mamba install -c spectrocat -c conda-forge spectrochempy-nmr

Plugins are discovered automatically once installed — no manual loading step required.

Experimental plugins

spectrochempy-cantera is available as an experimental plugin. It is not officially supported, not included in aggregate extras, and must be installed manually::

pip install spectrochempy-cantera

⚠️ WARNING: SpectroChemPy is under active development. The current design may undergo major changes. Please report any issues to our Issue Tracker.

Quick Links

For maintainers

Internal documentation for project maintainers (release procedures, incident recovery) is available in the maintainers/ directory.

License

CeCILL-B FREE SOFTWARE LICENSE AGREEMENT

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

spectrochempy-0.10.1.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

spectrochempy-0.10.1-py3-none-any.whl (765.4 kB view details)

Uploaded Python 3

File details

Details for the file spectrochempy-0.10.1.tar.gz.

File metadata

  • Download URL: spectrochempy-0.10.1.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spectrochempy-0.10.1.tar.gz
Algorithm Hash digest
SHA256 bce607947f99f5efa2be07fa1e1817089d0c003f3a8c3101b97df7cbf08a543e
MD5 01c990bf6377c5b3607bd6cd45ff6573
BLAKE2b-256 d028faa28e63cc7277031bad61071485ac53d58cba62acb471e0fcee6285b23b

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy-0.10.1.tar.gz:

Publisher: build_package.yml on spectrochempy/spectrochempy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spectrochempy-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: spectrochempy-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 765.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spectrochempy-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6dcfd06d2d6cdcf300e6c5cf6642801ae8ec77d4ac88ce72445f9fec24173365
MD5 3a4404bdf3909a8af353ea9db5535d20
BLAKE2b-256 498063ef7b5e97f125c2b2ec32eeb313384b67683a0f7f66aeb8aba37686864b

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy-0.10.1-py3-none-any.whl:

Publisher: build_package.yml on spectrochempy/spectrochempy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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