Example #1
0
def init_anatomy(args):
    args = anat.read_cmd_args(
        dict(subject=args.subject,
             remote_subject_dir=args.remote_subject_dir,
             exclude='create_new_subject_blend_file',
             ignore_missing=True))
    anat.call_main(args)
Example #2
0
def anatomy_preproc(args):
    args = anat.read_cmd_args(dict(
        subject=args.subject,
        remote_subject_dir='/autofs/space/lilli_001/users/DARPA-Recons/{subject}',
        high_level_atlas_name='darpa_atlas'
    ))
    anat.call_main(args)
Example #3
0
def anatomy_preproc(args, subject=''):
    args = anat.read_cmd_args(
        dict(subject=args.subject if subject == '' else subject,
             remote_subject_dir=
             '/autofs/space/lilli_001/users/DARPA-Recons/{subject}',
             high_level_atlas_name='darpa_atlas',
             function='create_annotation,create_high_level_atlas',
             ignore_missing=True))
    anat.call_main(args)
Example #4
0
def calc_anatomy(subject, atlas, remote_subject_dir, n_jobs):
    from src.preproc import anatomy as anat
    args = anat.read_cmd_args(
        dict(subject=subject,
             atlas=atlas,
             function='all,check_bem',
             remote_subject_dir=remote_subject_dir,
             exclude='create_new_subject_blend_file',
             n_jobs=n_jobs))
    anat.call_main(args)