tedana.utils
.unmask¶
-
unmask
(data, mask)[source]¶ Unmasks data using non-zero entries of mask
Parameters: - data ((M [x E [x T]]) array_like) – Masked array, where M is the number of True values in mask
- mask ((S,) array_like) – Boolean array of S samples that was used to mask data. It should have exactly M True values.
Returns: out – Unmasked data array
Return type: (S [x E [x T]])
numpy.ndarray