set_mask_xy_mat: Set the masked voxels in a 2D MRSI dataset to given spectrum.
Description
Set the masked voxels in a 2D MRSI dataset to given spectrum.
Usage
set_mask_xy_mat(mrs_data, mask, mask_mrs_data)
Arguments
mask
matrix of boolean values specifying the voxels to set, where a
value of TRUE indicates the voxel should be set to mask_mrs_data.
mask_mrs_data
the spectral data to be assigned to the masked voxels.