Skip to main content

DETECTED_DEAD_PIXELS_FORMAT_VERSION

Constant DETECTED_DEAD_PIXELS_FORMAT_VERSION 

Source
pub const DETECTED_DEAD_PIXELS_FORMAT_VERSION: u32 = 1;
Expand description

Format version written to the format_version attribute of the /intermediate/detected_dead_pixels dataset (#646 review R4, P1-1).

The dataset carries the session-scoped detected dead/hot mask component (the declared component lives at /intermediate/dead_pixels, unversioned for backward compatibility). Readers accept exactly this version; a dataset with a missing or unrecognized format_version is ignored, as is a dataset whose rank is not 2 (the same shape gate the declared-mask reader applies) — the restore then falls back to the declared-only behavior that predates the dataset, which is also the fallback for old files lacking the dataset entirely.