from xcp_d.workflows.restingstate import init_alff_wf
wf = init_alff_wf(
    name_source="/path/to/file.nii.gz",
    output_dir=".",
    TR=2.,
    low_pass=0.1,
    high_pass=0.01,
    smoothing=6,
    cifti=False,
    mem_gb=0.1,
    omp_nthreads=1,
    name="alff_wf",
)