Architecture¶
nirs4all-core is an aggregate distribution, not a new computational layer.
Source-of-truth map¶
Domain |
Owner |
nirs4all-core responsibility |
|---|---|---|
Vendor file parsing |
|
expose readers and records |
Dataset assembly |
|
expose loading/configuration adapters |
Dataset catalog |
|
expose catalog access and provenance |
Numerical methods |
|
expose method bindings and pipeline nodes |
DAG execution |
|
expose graph planning/execution contracts |
Data contracts |
|
expose sample-aligned schemas |
Binding surface¶
Each host binding should provide:
a top-level
nirs4allsurface, except Python where the import isnirs4all_lite;direct access to upstream domains:
formats,io,datasets,methods,dag_ml, anddag_ml_data;host-native pipeline composition that delegates to upstream engines;
no fallback reimplementation when an upstream binding is missing.
Strategic Python path¶
The Python binding is expected to become good enough to replace the core of the
full Python nirs4all library later. Until that migration is explicit,
nirs4all-core must avoid importing itself as nirs4all in Python so both
packages can coexist during parity checks.