Scrubbing rs-fMRI images using nilean.clean_img

Hi Steven,

Sorry to bother you again, but just wanted to pick your brain for a quick second. So, if I were to get an array from sample_mask, and I were to use time_series = masker.fit_transform(subject_file), could I then do something like time_series = time_series[sample_mask] in order to extract data from only the volumes that survived scrubbing?

There is a sample_mask argument for the NiftiLabelsMasker, but just wanted to check.

Thanks!
-Matt