mask_xy_mat: Mask a 2D MRSI dataset in the x-y dimension.
Description
Mask a 2D MRSI dataset in the x-y dimension.
Usage
mask_xy_mat(mrs_data, mask, value = NA)
Arguments
mask
matrix of boolean values specifying the voxels to mask, where a
value of TRUE indicates the voxel should be removed.
value
the value to set masked data to (usually NA or 0).