Open-source near-infrared spectroscopy tools

NIRS tools for Studio, core aggregate, formats, datasets, methods, pipelines, papers, and browser modelling

nirs4all is an open-source ecosystem for NIR spectroscopy workflows: use Studio, share UI components, consume the portable core aggregate, read vendor files, assemble datasets, run chemometric methods, publish reproducible pipelines, benchmark results, and inspect ecosystem health.

Find the right nirs4all tool

Use this page when searching for open-source NIRS software, Studio tooling, the portable core aggregate, shared UI components, provider clients, near-infrared spectroscopy file readers, PLS tools, reproducible NIRS datasets, or browser-based spectroscopy modelling.

nirs4all

Python oracle/reference library and desktop ecosystem for preprocessing spectra, building pipelines, visualizing results, and deploying NIRS models. The maintained Python production line stays separate from the final V1 RC aggregate publication train.

PythonStudiochemometrics
Open nirs4all.org

nirs4all-studio

Desktop application for no-code NIRS workflows, backed by the Python reference and progressively sharing components with nirs4all-ui. Existing production downloads remain available while the final V1 RC app release line stays held.

desktopElectronreleases
Open Studio releases

nirs4all-core

V1 RC portable aggregate over dag-ml, dag-ml-data, formats, IO, datasets and methods. PyPI nirs4all-core is published, public Rust crate and JavaScript/WASM npm package use the nirs4all name, and GitHub Release fallback assets remain available.

aggregatenpm/cratesRC
Open nirs4all-core

nirs4all-ui

Published React/TypeScript package of reusable components, runtime status helpers, score helpers, default CSS tokens, brand generators, and packaged visual assets for Studio, Web, and custom app hosts.

ReactnpmPages
Open component showcase

nirs4all-providers

Dependency-light Python provider clients over datasets and repository contracts. Benchmarks and papers keep their own public APIs. Read-side only, soft-importing, published on PyPI at v0.2.7, and tagged with GitHub Release fallback wheel/sdist assets.

providerscontractsRC
Open provider page Open source repo

nirs4all-tools

Migration toolkit for auditing legacy workspaces, converting supported saved runs and predictions, and producing machine-readable cutover reports. The v0.0.4 release has wheel/sdist fallback assets while PyPI trusted publishing is configured.

migrationCLIrelease assets
Open nirs4all-tools releases

nirs4all-formats

Rust and WebAssembly readers for vendor NIRS and spectroscopy file formats, with an in-browser demo that keeps files local.

file formatsWASMRust
Open formats.nirs4all.org

nirs4all-datasets

Citable catalog of raw NIRS reference datasets with provenance, access tiers, statistics, DOI links, and byte-free identity cards.

datasetsDOIprovenance
Open datasets.nirs4all.org

nirs4all-methods

Portable C++17 libn4m methods engine with a stable C ABI, language bindings, parity reports, and benchmark documentation.

PLSC ABIbindings
Open methods.nirs4all.org

nirs4all-aom

Python/sklearn package for AOM-PLS, POP-PLS, AOM-Ridge and FastAOM models used by the adaptive-model paper companion workflows.

Pythonsklearnadaptive models
Open nirs4all-aom on PyPI Open source repo

nirs4all-web

Full-WASM browser workbench for uploading spectra, building a pipeline, running cross-validated PLS or PLS-DA, and predicting locally.

browserWASMmodelling
Open web.nirs4all.org

nirs4all-cluster

Trusted-LAN beta for distributing nirs4all execution across lab machines with a FastAPI coordinator, SQLite queue, capability routing, and crash-safe leases. It is a validation bench, not a public multi-tenant service.

clusterschedulerbeta
Open nirs4all-cluster

nirs4all-io

Dataset assembly bridge and browser dataset builder for turning spectra and sidecars into validated nirs4all dataset specifications.

dataset buildersidecarsvalidation
Open io.nirs4all.org

nirs4all-repository

Public beta catalog of pre-configured NIRS pipeline recipes for nirs4all and dag-ml, with provenance, checksums, and per-recipe validation status.

pipelinesrecipesbeta
Open repository.nirs4all.org

nirs4all-papers

Reproduction-document publisher for deposited papers, methods, bibliography, sidecars, and live in-browser pipeline replay.

papersreproducibilityreplay
Open papers.nirs4all.org

nirs4all-benchmarks

Prototype static benchmark arena for scored, reproducible NIRS pipeline comparisons and dataviz.

benchmarksscoresdataviz
Open benchmarks.nirs4all.org

nirs4all-cockpit

Release and health dashboard for package versions, registries, downloads, code stats, CI, and public page visits.

dashboardreleaseshealth
Open cockpit.nirs4all.org

NIRS tools by task

TaskUseTool
Read vendor spectraDecode spectroscopy files locally in the browser or from Rust bindings.nirs4all-formats
Build datasetsCombine spectra, targets, metadata, sidecars, and validations into one dataset specification.nirs4all-io
Find reference dataBrowse NIRS datasets with provenance, license, DOI, and statistical identity cards.nirs4all-datasets
Run methodsUse portable PLS and NIRS methods through C, Python, R, MATLAB, JavaScript, and other bindings.nirs4all-methods
Run adaptive modelsUse the paper companion implementation of AOM-PLS, POP-PLS, AOM-Ridge and FastAOM estimators.nirs4all-aom
Use a desktop appBuild and inspect NIRS workflows with the desktop app while the shared RC package surfaces keep evolving.nirs4all-studio
Consume the portable aggregateUse the V1 RC aggregate across Rust, Python, R, WASM and MATLAB/Octave surfaces.nirs4all-core
Share UI componentsReuse the published Studio/Web package, runtime badges, status view models, score helpers and brand assets.nirs4all-ui
Read provider contractsConsume datasets and repository descriptors through one soft-importing read-side client layer; benchmarks and papers keep their own APIs.nirs4all-providers
Migrate saved artifactsAudit legacy workspaces, convert supported saved runs and predictions, and write cutover reports before switching runtimes.nirs4all-tools
Model in the browserUpload spectra, build a pipeline, run cross-validation, inspect results, and predict without a backend.nirs4all-web
Distribute lab executionRoute trusted-LAN jobs across local lab machines with scheduler, leases, capability matching, and crash recovery.nirs4all-cluster
Reuse pipelinesBrowse pipeline recipes with provenance and checksums; validation status is recorded per recipe.nirs4all-repository
Publish reproducible workDeposit paper bundles with methods, bibliography, reproducibility sidecars, and live replay.nirs4all-papers
Monitor qualityTrack benchmarks, package health, releases, CI, and ecosystem status.benchmarks and cockpit