Skip to main content

spectrochempy-hypercomplex

Hypercomplex / quaternion support plugin for SpectroChemPy.

Provides quaternion-based dataset operations, quaternion-aware processing handlers, and utilities that can be reused by NMR and other SpectroChemPy plugins. The plugin does not depend on the NMR plugin.

Installation

python -m pip install spectrochempy-hypercomplex

For NMR workflows:

python -m pip install "spectrochempy[nmr]" spectrochempy-hypercomplex

Usage

import spectrochempy as scp

# Hypercomplex support is independent of the NMR plugin.
dataset = scp.NDDataset([1.0, 2.0, 3.0, 4.0])
dataset.hyper.set_quaternion(inplace=True)

The public quaternion components are available as dataset.hyper.RR, dataset.hyper.RI, dataset.hyper.IR and dataset.hyper.II. The conversion utilities are exported from spectrochempy_hypercomplex.

For NMR data, install spectrochempy-nmr as shown above and use its public reader before applying the hypercomplex representation.

Development

python -m pip install -e .
python -m pip install pytest pytest-doctestplus
python -m pytest tests/ -v

Metadata

Release files for spectrochempy-hypercomplex 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spectrochempy-hypercomplex 0.2.0
File Size Uploaded Provenance Actions
spectrochempy_hypercomplex-0.2.0.tar.gz 17.1 kB With provenance Details for spectrochempy_hypercomplex-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spectrochempy-hypercomplex 0.2.0
File Interpreter ABI Platform Actions
spectrochempy_hypercomplex-0.2.0-py3-none-any.whl Python 3 none any Details for spectrochempy_hypercomplex-0.2.0-py3-none-any.whl

Total release size: 32.1 kB

Release files / spectrochempy_hypercomplex-0.2.0.tar.gz

Download URL spectrochempy_hypercomplex-0.2.0.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
263ae434abbd41785462cfd150c3389eee1335fca8eb7b7be1ab5a1eee154027
BLAKE2b-256 checksum
How to use checksums
5b623c57e15b652cf5d4cfcb7d4fd9aee5b1357683b0fd360f129c824d04a6c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / spectrochempy_hypercomplex-0.2.0-py3-none-any.whl

Download URL spectrochempy_hypercomplex-0.2.0-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
208f407be24624c15de7fd0608edc97cc629e70409056e2b97811de86dd0ca3d
BLAKE2b-256 checksum
How to use checksums
21bd04897c211bbb75d62d344a84ff53a4cedb2fbf5993c63120a713648ea7d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for spectrochempy-hypercomplex 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spectrochempy_hypercomplex-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page