Skip to main content

spectrochempy-tensor

Tensor decomposition plugin for SpectroChemPy.

This official plugin provides TensorLy-backed tensor decomposition classes, starting with CP/PARAFAC decomposition exposed as scp.tensor.CP.

Installation

The next release, 0.1.7, requires SpectroChemPy 1.1.0 or later (and remains restricted to SpectroChemPy versions below 2). Users who stay on SpectroChemPy 1.0.0 should keep an earlier compatible version of this plugin.

pip install spectrochempy-tensor

For local development from the SpectroChemPy monorepo:

pip install -e plugins/spectrochempy-tensor

Usage

import spectrochempy as scp

model = scp.tensor.CP(n_components=2)
model.fit(dataset)

The historical scp.CP alias is retained as a deprecated compatibility path.

Metadata

Release files for spectrochempy-tensor 0.1.7

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-tensor 0.1.7
File Size Uploaded
spectrochempy_tensor-0.1.7.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spectrochempy-tensor 0.1.7
File Interpreter ABI Platform
spectrochempy_tensor-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 25.8 kB

Release files / spectrochempy_tensor-0.1.7.tar.gz

Download URL spectrochempy_tensor-0.1.7.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
44e5dd85f1458d0b844f46b6e6a87919cf89ee07b5225bbeca2230b872bab582
BLAKE2b-256 checksum
How to use checksums
0d2aca2804f250f99d8c1dfbc65d2cf44cd1d3d4869ff10fa722e13e54ce75c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 29, 2026.

Transparency log

Release files / spectrochempy_tensor-0.1.7-py3-none-any.whl

Download URL spectrochempy_tensor-0.1.7-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad21dea9eb6d968f9c1419ecd5063df941033ecc2f8fe7a5c559424798dd27a7
BLAKE2b-256 checksum
How to use checksums
0418345459ef39d1bdbb1748fee222136a23264d894e086535db10c4a0bd6bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.1

2 release files

0.1.0

2 release files

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