osl_dynamics.analysis.workbench
#
Functions to use Connectome Workbench.
Module Contents#
Functions#
|
Sets up workbench. |
|
Render map in workbench. |
|
|
|
|
|
|
|
|
|
Attributes#
- osl_dynamics.analysis.workbench.setup(path)[source]#
Sets up workbench.
Adds workbench to the PATH environmental variable.
- Parameters:
path (str) – Path to workbench installation.
- osl_dynamics.analysis.workbench.render(img, save_dir=None, interptype='trilinear', gui=True, inflation=0, image_name=None, input_is_cifti=False)[source]#
Render map in workbench.
- Parameters:
img (str) – Path to image file.
save_dir (str, optional) – Path to save rendered surface plots.
interptype (str, optional) – Interpolation type. Default is
'trilinear'
.gui (bool, optional) – Should we display the rendered plots in workbench? Default is
True
.image_name (str, optional) – Filename of image to save.
input_is_cifti (bool) – Whether the input file is a CIFTI file.
- osl_dynamics.analysis.workbench.create_scene(cifti_left, cifti_right, inflation, temp_scene)[source]#
- osl_dynamics.analysis.workbench.visualise(cifti_left, cifti_right, inflation=0, temp_scene=None)[source]#
- osl_dynamics.analysis.workbench.image(cifti_left, cifti_right, file_name, inflation=0, temp_scene=None)[source]#