from qsiprep.workflows.dwi.resampling import init_dwi_trans_wf

wf = init_dwi_trans_wf(
    source_file='sub-1_dwi.nii.gz',
    template="ACPC",
    output_resolution=1.2,
    use_compression=True,
    to_mni=False,
    write_local_bvecs=True,
    mem_gb=3,
    omp_nthreads=1,
)