I am having trouble running denoiser.. I get the following error: ValueError: Digital filter critical frequencies must be 0 < Wn < 1
My code is as follows:
run_denoise.py \
$raw/$sub/$ses/func/sub-006_ses-01_task-rest_space-MNI152NLin6Asym_desc-smoothAROMAnonaggr_bold.nii.gz $raw/$sub/$ses/func/sub-006_ses-01_task-rest_desc-confounds_timeseries.tsv $raw/denoised \
--col_names csf white_matter \
--hp_filter 0.009 \
--lp_filter 0.8 \
--out_figure_path $raw/denoised/$sub/$ses
I specified the high pass and low pass filter options as suggested. I have a feeling that something goes wrong while selecting the high pass filter as of the following output that I get:
of TRs: 160
of Confound Regressors: 2 [SELECTED regressors in CSV]
of High-pass Filter Regressors: 0
/data/jcpottkamper/miniconda3/envs/fmriprep/bin/run_denoise.py:114: RuntimeWarning: divide by zero encountered in true_divide
Fs = 1. / TR
Hey!
I am having trouble running denoiser.. I get the following error: ValueError: Digital filter critical frequencies must be 0 < Wn < 1 My code is as follows: run_denoise.py \ $raw/$sub/$ses/func/sub-006_ses-01_task-rest_space-MNI152NLin6Asym_desc-smoothAROMAnonaggr_bold.nii.gz $raw/$sub/$ses/func/sub-006_ses-01_task-rest_desc-confounds_timeseries.tsv $raw/denoised \ --col_names csf white_matter \ --hp_filter 0.009 \ --lp_filter 0.8 \ --out_figure_path $raw/denoised/$sub/$ses
I specified the high pass and low pass filter options as suggested. I have a feeling that something goes wrong while selecting the high pass filter as of the following output that I get:
of TRs: 160
of Confound Regressors: 2 [SELECTED regressors in CSV]
of High-pass Filter Regressors: 0
/data/jcpottkamper/miniconda3/envs/fmriprep/bin/run_denoise.py:114: RuntimeWarning: divide by zero encountered in true_divide Fs = 1. / TR
Could you help me please?
Cheers, Julia