Extract_label_time_course from a custom mask

Hi MNE experts,

I’m currently trying to pull out a time course from a volumetric source estimate using a custom mask. I currently have the mask saved as a nifti and mgz. When I try to use stc.extract_label_time_course(), I get the error “atlas vox_mri_t does not match that used to create the source space.” After some digging, it looks like that refers to a mismatch of the MRI voxel → MRI (surface RAS) transform matrix.

How would I go about transforming my mask to a point I could extract a time course? Alternatively, would it be easier to morph the stc to match the mask?

Thanks for the help,
Chris