One named or anonymous correspondence: a point in the moving image’s
patient space and its matching point in the fixed image’s space, both
LPS millimetres.
A versioned registration record: the transform, its method, the
landmarks that produced it, the achieved residual, and content
bindings of the moving/fixed images when known.
Covariance model between exposures. Only independence is supported:
statistically coupled exposures (for example two fractions sharing one
transport run) must be merged into a single exposure first.
What the imported dose field physically is. physical is absorbed dose;
rbe_weighted declares the producer already applied an RBE model — the
basis is carried through BED conversion so a weighted field can never be
silently read as physical dose downstream.
Dose-field resampling method. Trilinear interpolation at voxel centers is
the only supported scheme; the choice is recorded in whatever record the
resampled field lands in.
A declared systematic uncertainty source. The variant is the audit
trail — what was declared; the per-voxel contribution map is computed
at apply time and summarized in SourceSummary.
Contract-id namespace used by artifacts written before the project was
renamed from NCTForge to OpenBNCT. Such artifacts remain valid inputs and
are normalized on read; new artifacts always emit SCHEMA_PREFIX.
Per-voxel σ for the boron-field source: σ(v) = D_b(v)·σ_B(v)/B(v)
for B(v) > 0, else 0. Returns the map plus the count of voxels
skipped because the field concentration was zero.
Serde deserialize_with for schema_version fields: accepts the legacy
nctforge. namespace and normalizes it to openbnct. in memory, so
pre-rename artifacts load into current contracts transparently.
D_x: the dose level such that x percent of the volume receives at
least that dose. percent must lie in (0, 100]; D_100 is the
minimum dose. The selection is sorted ascending and the value at the
continuous position (1 - x/100) * (n - 1) is linearly interpolated —
the standard discrete-DVH reading for equal-volume voxels.
Loose grid comparison for producers that print identical meshes at finite
precision: exact shape equality plus a tight relative tolerance on spacing,
origin, and direction. Importers must use this rather than == on f64
fields, and must never resample disagreeing meshes into agreement.
Returns id with a legacy nctforge./nctforge- contract or tool
namespace replaced by the current openbnct./openbnct- namespace. Ids
without a legacy prefix are returned unchanged.
Per-voxel positioning σ: |∇D(v)|·σ_mm by central differences on the
grid (one-sided at faces). The gradient is taken along voxel axes —
valid because GridGeometry direction is validated orthonormal, so
the axis-gradient L2 norm equals the world-space magnitude under any
rotation. dose is the physical-total volume in grid order.
True when actual identifies the same contract as expected, tolerating
the legacy nctforge. namespace on either side. Use this wherever an
externally supplied artifact’s schema_version is checked, so committed
nctforge.* evidence remains readable.