nimare.utils.get_masker¶
-
get_masker(mask)[source]¶ Get an initialized, fitted nilearn Masker instance from passed argument.
- Parameters
mask (str,
nibabel.nifti1.Nifti1Image, or any nilearn Masker)- Returns
masker (an initialized, fitted instance of a subclass of) –
nilearn.input_data.base_masker.BaseMasker