cudimot¶
Import in python using from mcutils.cudimot import cudimot
-
mcutils.cudimot.
cudimot
(directory_or_tree, data_file, mask_file, cfp=(), fixp=(), model_name=None, njobs=4, cudimot_dir=None, wait_for=(), overwrite=True, optional_flags='')[source]¶ Runs or submits the job to fit the given model
- Parameters
directory_or_tree – directory that will contain the output files or tree with CUDIMOT input/output files
data_file – path to the data file (or short name in tree)
mask_file – path to the mask file (or short name in tree)
cfp – sequence of filenames or short names with common fixed parameters
fixp – sequence of filenames or short names with voxel-wise fixed parameters
model_name – which model to fit (defaults to tree.variables[‘model_name’])
njobs – number of jobs to split the data into
cudimot_dir – directory where CUDIMOT has been installed (defaults to $FSLDEVDIR)
wait_for – tuple of job ids that cudimot should wait for
overwrite – overwrites the output even if it already exists
optional_flags – string with all optional flags
- Returns
tuple with job ids to wait for