|
9 | 9 | from ....interfaces import ants |
10 | 10 | from ....interfaces import fsl |
11 | 11 | from ....pipeline import engine as pe |
| 12 | +from ...data import get_flirt_schedule |
| 13 | + |
12 | 14 | from .utils import (b0_indices, time_avg, apply_all_corrections, b0_average, |
13 | 15 | hmc_split, dwi_flirt, eddy_rotate_bvecs, rotate_bvecs, |
14 | 16 | insert_mat, extract_bval, recompose_dwi, recompose_xfm, |
@@ -352,8 +354,6 @@ def hmc_pipeline(name='motion_correct'): |
352 | 354 | outputnode.out_xfms - list of transformation matrices |
353 | 355 |
|
354 | 356 | """ |
355 | | - from nipype.workflows.data import get_flirt_schedule |
356 | | - |
357 | 357 | params = dict(dof=6, bgvalue=0, save_log=True, no_search=True, |
358 | 358 | # cost='mutualinfo', cost_func='mutualinfo', bins=64, |
359 | 359 | schedule=get_flirt_schedule('hmc')) |
@@ -454,7 +454,6 @@ def ecc_pipeline(name='eddy_correct'): |
454 | 454 | outputnode.out_xfms - list of transformation matrices |
455 | 455 | """ |
456 | 456 |
|
457 | | - from nipype.workflows.data import get_flirt_schedule |
458 | 457 | params = dict(dof=12, no_search=True, interp='spline', bgvalue=0, |
459 | 458 | schedule=get_flirt_schedule('ecc')) |
460 | 459 | # cost='normmi', cost_func='normmi', bins=64, |
|
0 commit comments