mrsiprep.connectivity.export
Connectivity export helpers.
Functions
|
Metabolic similarity matrix built from an already-computed |
|
Perturbation-augmented regional metabolic profiles (uncertainty propagation via |
- mrsiprep.connectivity.export.export_connectivity(config, subject, session, profiles, table, atlas_name, scale=None)[source]
Metabolic similarity matrix built from an already-computed
MetabolicProfileResult(seeexport_metabolic_profiles()). Optional add-on, gated on--write-connectivity.- Parameters:
subject (str)
session (str | None)
table (DataFrame)
atlas_name (str)
scale (str | None)
- Return type:
dict[str, Path]
- mrsiprep.connectivity.export.export_metabolic_profiles(config, subject, session, regional_table, atlas_name, metabolite_maps, crlb_maps, brainmask, atlas_mrsi, gm_fraction_path=None, scale=None)[source]
Perturbation-augmented regional metabolic profiles (uncertainty propagation via
--connectivity-n-perturbationsCRLB-scaled draws per metabolite). Runs unconditionally whenever parcellation is available (parc-conmode), independently of--write-connectivity-- the profile is the shared representation any downstream analysis (including, optionally, connectivity) builds on.Returns
(MetabolicProfileResult, profile_npz_path).- Parameters:
subject (str)
session (str | None)
regional_table (Path)
atlas_name (str)
metabolite_maps (dict[str, Path])
crlb_maps (dict[str, Path])
brainmask (Path)
atlas_mrsi (Path)
gm_fraction_path (Path | None)
scale (str | None)