nimare.studyset.ImageBlock

class ImageBlock(refs: ndarray, analysis_pos: ndarray, study_pos: ndarray, imtype: str, space: ndarray, metadata: ndarray, values: ndarray | None = None, raw_refs: ndarray | None = None)[source]

Bases: object

One row per image, with its parent analysis and study alongside.

An analysis carrying two z maps yields two rows, which is what lets policy be a decision at read time rather than a ceiling baked into storage. analysis_pos is the parent of each row, so first-wins selection needs no second lookup.

Methods

Properties

raw_refs

values

refs

analysis_pos

study_pos

imtype

space

metadata