ffrprep.reports.make_group¶
- ffrprep.reports.make_group(*, sections, session=None, task=None, run=None, title=None, group_id=None)[source]¶
Construct a group descriptor consumable by the report builders.
A group represents one (optional session, optional task, optional run) combination and bundles all sections that belong to it (e.g. raw + epoched for the same task/run). The TOC renders groups as foldable containers; the main content renders one nested card per group with the contained sections as sub-cards.
title and group_id default to a BIDS-style label / anchor derived from the session/task/run identifiers.