Data Handling๏ƒ

This section covers loading and managing spectroscopic data in NIRS4ALL.

Overview๏ƒ

NIRS4ALL provides flexible data handling capabilities for loading spectroscopic data from various formats, generating synthetic data, filtering samples, and aggregating predictions.

๐Ÿ“‚ Loading Data

Load data from CSV, Excel, MATLAB, NumPy, and Parquet formats.

Loading Data
๐Ÿงช Synthetic Data

Generate realistic synthetic NIRS spectra for testing and prototyping.

Synthetic Data Generation
๐Ÿ”ฌ Signal Types

Detect and convert between absorbance, reflectance, and other spectral representations.

Signal Types and Conversion
๐Ÿ” Repetitions & Aggregation

Handle repeated scans of the same physical sample: group replicates with DatasetConfigs(repetition=...) and aggregate them (aggregate, aggregate_method, outlier exclusion). Core to NIRS.

Sample Repetition & Aggregation
Source-aware Repetitions

Declare heterogeneous source repetitions such as MIR=2, Raman=3, NIR=2 with explicit sample identity, representation, reducer, fit influence, and replay contracts.

Heterogeneous Source Repetitions
Heterogeneous Repetitions Tutorial

Build the shipped MIR/Raman/NIRS relation fixture, materialize sample-level and cartesian representations, and connect the staged data to rep_fusion.

Tutorial: Heterogeneous Source Repetitions
๐Ÿ” Sample Filtering

Filter samples based on metadata, outliers, or custom criteria.

Sample Filtering User Guide

Coming Soon๏ƒ

  • Loading Data - Complete guide to DatasetConfigs and supported formats (CSV, Excel, MATLAB, NumPy, Parquet)

See Also๏ƒ