Skip to main content

Python Binding

Distribution name: nirs4all-core

Import name: nirs4all_core

This binding intentionally avoids the nirs4all import name so it can be installed next to the full Python nirs4all package during parity checks. The canonical source repository is nirs4all-core; only the Python distribution carries the -core suffix because the production nirs4all Python package already owns the bare name.

An additive import facade is available for governed topology work:

  • n4a mirrors the full nirs4all_core aggregate surface.

Portable Execution

nirs4all_core.run_portable_pipeline(source, dataset) executes the shared portable JSON/YAML subset through the nirs4all-methods Python bindings:

  • KennardStoneSplitter
  • StandardNormalVariate / SNV
  • SavitzkyGolay
  • sklearn.cross_decomposition.PLSRegression
  • _range_ sweeps over n_components

Savitzky-Golay defaults to mode="interp" for full Python nirs4all parity and preserves explicit methods-backed modes (mirror, constant, nearest, wrap, interp) plus cval.

The aggregate does not implement numerical kernels. Install the optional methods extra, or make n4m and pls4all importable, before calling it:

python -m pip install "nirs4all-core[methods]"

The strict local parity gate compares all shared fixtures against the full Python nirs4all oracle and reports max prediction/RMSE deltas on failure:

PYTHONPATH=bindings/python/src:/path/to/nirs4all-methods/bindings/python/src \
N4M_LIB_PATH=/path/to/libn4m.so \
NIRS4ALL_CORE_REQUIRE_METHODS_PARITY=1 \
python -m unittest bindings/python/tests/test_execution_parity.py -v

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nirs4all_core-0.3.13.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

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

nirs4all_core-0.3.13-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file nirs4all_core-0.3.13.tar.gz.

File metadata

  • Download URL: nirs4all_core-0.3.13.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nirs4all_core-0.3.13.tar.gz
Algorithm Hash digest
SHA256 92cfab3f383b1013568191529f71356c3a4e1b2717dfddf02a646c9e07e7d5b6
MD5 7a75d5f364eb8281e485bcb3efa4d89e
BLAKE2b-256 7996c4244c6758b81c06a8c17f7454bc969e8d4fbcb64d3494faf3eb7cd4b585

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_core-0.3.13.tar.gz:

Publisher: release-python.yml on GBeurier/nirs4all-core

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

File details

Details for the file nirs4all_core-0.3.13-py3-none-any.whl.

File metadata

  • Download URL: nirs4all_core-0.3.13-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nirs4all_core-0.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 fb2f61b092f56b8155ae0c121d6512930e5c543ac646cbf525465d68540d3cdb
MD5 105de4cb5191e6f422f5841dbe82cdb7
BLAKE2b-256 b91fb483f4347a8f440c4d90a3512425127255dc99f63e2a8610711bb395b3f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_core-0.3.13-py3-none-any.whl:

Publisher: release-python.yml on GBeurier/nirs4all-core

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

Release history Release notifications | RSS feed

This release

0.3.13 This release

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.13

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page