brain_deer.plugins.leaddbs_space_paths¶
Portable LeadDBS MNI template paths (no machine-specific absolute paths).
Set LEADDBS_SPACE_ROOT to the directory that contains atlases/ and t1.nii
(e.g. .../templates/space/MNI152NLin2009bAsym) if leadDBS is not under the default
~/leadDBS or ~/Documents/Toolboxes/leadDBS layout.
Set LEADDBS_ROOT to the leaddbs program directory (the folder that contains
templates/electrode_models/) when that tree is not next to the space template or when you
use a custom Lead-DBS install path. The atlas browser and future Lead-DBS/BrainDeer links use
leaddbs_toolbox_root().
Functions¶
|
|
|
The |
|
QFileDialog start path when LeadDBS is not detected. |
|
Ordered unique existing template NIfTI paths under common layouts. |
Module Contents¶
- brain_deer.plugins.leaddbs_space_paths.leaddbs_space_root() str | None¶
.../templates/space/MNI152NLin2009bAsymif it exists on disk.
- brain_deer.plugins.leaddbs_space_paths.leaddbs_toolbox_root() str | None¶
The
leaddbsprogram directory (containstemplates/electrode_models/,ea_*.m, …). SetLEADDBS_ROOTto your clone (e.g..../leaddbs) so DBS features find electrode.matfiles when space templates are not under the same tree. Future LeadDBSbraindeerbridge uses the same root.