from xcp_d.workflow.bold import init_boldpostprocess_wf
wf = init_boldpostprocess_wf(
    bold_file,
    lower_bpf,
    upper_bpf,
    bpf_order,
    motion_filter_type,
    motion_filter_order,
    band_stop_min,
    band_stop_max,
    smoothing,
    head_radius,
    params,
    custom_confounds,
    omp_nthreads,
    dummytime,
    output_dir,
    fd_thresh,
    num_bold,
    template='MNI152NLin2009cAsym',
    layout=None,
    name='bold_postprocess_wf')