Skip to main content

Python Binding

Distribution name: nirs4all-lite

Import name: nirs4all_lite

This binding intentionally avoids the nirs4all import name so it can be installed next to the full Python nirs4all package during parity checks.

Portable Execution

nirs4all_lite.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-lite[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 \
PLS4ALL_LIB_PATH=/path/to/libn4m.so \
NIRS4ALL_LITE_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_lite-0.2.0.tar.gz (21.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_lite-0.2.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file nirs4all_lite-0.2.0.tar.gz.

File metadata

  • Download URL: nirs4all_lite-0.2.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nirs4all_lite-0.2.0.tar.gz
Algorithm Hash digest
SHA256 845e51b620af5476bb2ea4fedcd24b61e4c7ae4777fd169ea8225b6ded8ec906
MD5 3f90acdf20ae5ad616a003957d252b5a
BLAKE2b-256 abb84c91576542f4a31a995d7ec97b484a401323453fa1ce27f31decd1d79b28

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_lite-0.2.0.tar.gz:

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

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_lite-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for nirs4all_lite-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b28611ecd2e61d170599c19c4474ca489613b1543286a0f6fe5f5c4a340a82e1
MD5 0ea1e039543fac55503294ce5d4780a8
BLAKE2b-256 05b699cfec9a690f2bf767ef4c946a9f28fbf81392b04597f967fff27de3fed4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirs4all_lite-0.2.0-py3-none-any.whl:

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

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.2.0 This release

2 files

0.1.0

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