eelbrain.load.update_subjects_dir
- eelbrain.load.update_subjects_dir(obj, subjects_dir, depth=0)
Update FreeSurfer
subjects_diron source-space dataOperates in-place.
- Parameters:
obj (object) – Object on which to replace
subjects_dir.depth (int) – Depth for visiting
objcontent and attributes. Default (0) only applies the function toobjwithout recursion, assuming thatobjis itself anNDVarorSourceSpace. Usedepthto replacesubjects_diron, e.g.,NDVarsin alist,dictvalues, or on object attributes. Use a negative number for an exhaustive search.
- Return type:
None
Notes
Use the
depthparameter to recursively update content and attributes inobj, for example,objmay be a list ordictcontainingNDVars, or aBoostingResultobject.The following elements are searched: