brain_deer.infrastructure.bids.tractometry¶
Precomputed per-streamline statistics (SBA-style TSV/NPY in derivatives).
Functions¶
|
Locate a |
|
Load per-streamline scalars and expand to per-point arrays. |
Module Contents¶
- brain_deer.infrastructure.bids.tractometry.find_tractometry_file(dataset: brain_deer.infrastructure.bids.layout.BIDSDataset, tract_item: brain_deer.infrastructure.bids.entities.BIDSItem) pathlib.Path | None¶
Locate a
*_tractometry.tsv/*_stats.tsv/*_stats.npyfor a tract.
- brain_deer.infrastructure.bids.tractometry.load_tractometry_scalars(path: pathlib.Path, streamlines: Sequence[numpy.ndarray]) list[numpy.ndarray] | None¶
Load per-streamline scalars and expand to per-point arrays.