brain_deer.infrastructure.bids.mapper¶
Declarative BIDS → BrainDeer layer mapping (JSON/YAML + built-in defaults).
Classes¶
Maps BIDS items to BrainDeer |
Module Contents¶
- class brain_deer.infrastructure.bids.mapper.BIDSMapper¶
Maps BIDS items to BrainDeer
loaded_filesdefaults.- layer_overrides(item: brain_deer.infrastructure.bids.entities.BIDSItem) dict[str, Any]¶
BrainDeer layer fields for one BIDS item (does not include bids metadata).
- save(dataset_root: pathlib.Path) pathlib.Path¶
Write mapper config back to
braindeer_bids_map.json.
- sync_projections_from_layers(main_window, dataset_root: pathlib.Path) int¶
Update
projection_rulesfrom currentloaded_filesprojection links.