DiffractoMorph does not have a scientifically meaningful universal calibration. Every calibration is tied to an instrument geometry, material, medium, acquisition regime, and purpose. The project manifest makes that selection explicit.
| Role | What it establishes | When required |
|---|---|---|
instrument |
Adapter, channel identities, acquisition variables and geometry | Every project |
material |
Material identity and parameters used by a named model | Every project |
medium |
Vessel and medium conditions | Every project |
analysis |
Channel set, artifact rules and fitted-model bounds | Every analysis |
noise |
Supported signal range and per-channel variability | Channel admission or reliability gating |
optical_operator |
Forward mapping and its allowed inference | Optical forward prediction or inversion QC |
assay |
Wavelengths, blanks, curves, dilution and offsets | Independent concentration/mass assay |
solubility |
Condition-specific saturation concentration and provenance | Mass-domain dissolution model |
A profile may be inline, file-backed, or explicitly not applicable. File-backed profiles should carry SHA-256 checksums in frozen work.
Build a noise model from non-transforming material measured over the intended signal and acquisition range. Record source hashes, instrument/lens, material/medium, temperature, cadence, concentration range, exclusions, fit diagnostics, and a calibration ID. A CFZ pH-7 surface cannot be assumed valid for another material or instrument.
An operator record must include its immutable ID, purpose, evaluation standards, independently declared geometry, complex refractive-index assumptions and convention, dimensions, size grid, diagnostics, build recipe, source hashes, and artifact checksum. Detector channels are angular measurements, not size bins. One broad standard can support a fixed-geometry feasibility check without establishing unique diameter-to-channel localization.
dfm-build-kernel requires a reviewed geometry profile (with internally bound provenance), explicit material
complex refractive index (m = n - i*k) and source, operator date, and an external registry. NIST measurements evaluate
the fixed operator; detector angles are never fitted to the NIST profile. The HELOS R3 profile is
a nominal optical-equivalent reconstruction from the manual, not mechanical detector metrology or
channel-gain calibration. The installed package is not a writable calibration store.
dfm-noise-surface likewise requires an explicit writable output path.
Kernel IDs include a digest of the governed build contract; registries retain and verify the
artifact SHA-256, and selection is by immutable ID rather than measurement date. Kernels made by
the former NIST-fitted log-angle builder are rejected by default. They may be opened with
allow_legacy=True only for a documented migration comparison, never as a current production
operator. That override cannot authorize a draft manual-annular kernel.
Exact 0.2 CLI migration example:
dfm-build-kernel --drug compound-x \
--geometry-profile helos-r3-manual-v1 \
--particle-ri-real 1.7000 --particle-absorption-k 0.0100 \
--ri-source "DOI or governed measurement-record identifier" \
--operator-date 2026-08-08 --reviewed-by "review-record identifier" \
--registry /path/to/reviewed-kernels/registry.yamlThese RI values are syntax-only placeholders. The reviewed R3 preset is internally bound to the
manual identifier and SHA-256; use geometry_from_class_limits with explicit provenance for another
instrument or geometry instead of relabeling the preset.
An assay profile declares the calibrated wavelengths, curve parameters, blank convention, dilution, filter or recovery offsets, units, calibration range, and calibration identity. Missing condition-specific offsets fail closed. Passing an offset of zero is an explicit statement that no offset applies.
Use measured, condition-specific solubility when the scientific analysis requires it and record the preparation and method that produced it. Unknown materials must supply explicit forward-model parameters. A model fit in total dissolved mass does not validate a size-specific rate law or optical inversion.
Before freezing a profile:
- confirm ownership and redistribution terms for every source;
- calculate and verify source and artifact checksums;
- define supported and unsupported ranges;
- test a held-out or independent check where scientifically available;
- state the allowed inference and explicit nonclaims;
- give the artifact a stable ID and version; and
- select it explicitly in a project manifest.