pipeline_domain_selector module

Determine and reproduce the physical domain that a registration pipeline used.

The implementation now lives in aind_zarr_utils.domain.selector and aind_zarr_utils.domain.overlays. This module is a re-export shim preserved so existing imports such as from aind_zarr_utils.pipeline_domain_selector import OverlaySelector continue to work, and so test fixtures can monkey-patch attributes (for example, fix_corner_compute_origin) at this module path. New code should import from aind_zarr_utils.domain.* directly.

Notes

  • All coordinates are expressed in ITK LPS convention and millimeters.

  • See aind_zarr_utils.domain.selector for the full design notes.

Overview

The pipeline_domain_selector module provides a sophisticated system for reproducing the exact physical domain (coordinate system) that a registration pipeline used, including historical and buggy variants. This ensures that voxel indices from ZARR files are mapped to the correct anatomical coordinates before applying transforms.