Open JulioAPeraza opened 1 month ago
For the liberal masking approach, I also realized that the voxel mask and study mask image-base inputs (e.g., beta and varcope) may differ. So we need to create and join with the mask across different inputs here
Summary
I now notice that we calculate the correlation matrix in Stouffers in all the voxels, even the ones with 0 or Nan. I think we can apply the aggressive mask to all images and then calculate the correlation matrix. We can also save that matrix in the estimator because we will use it in the report module.
Additional details
Saving the matrix will decrease the computation time in the Workflows but at the cost of extra memory in the estimator class.
Next steps
Apply the aggressive mask and calculate the correlation matrix in _preprocess_input. This will only affect Stouffers estimator.