tedana.utils.io.write_split_ts¶
-
write_split_ts
(data, mmix, mask, acc, rej, midk, ref_img, suffix='')[source]¶ Splits data into denoised / noise / ignored time series and saves to disk
Parameters: - data ((S x T) array_like) – Input time series
- mmix ((C x T) array_like) – Mixing matrix for converting input data to component space, where C is components and T is the same as in data
- mask ((S,) array_like) – Boolean mask array
- acc (list) – Indices of accepted (BOLD) components in mmix
- rej (list) – Indices of rejected (non-BOLD) components in mmix
- midk (list) – Indices of mid-K (questionable) components in mmix
- ref_img (str or img_like) – Reference image to dictate how outputs are saved to disk
- suffix (str, optional) – Appended to name of saved files (before extension). Default: ‘’
Returns: varexpl – Percent variance of data explained by extracted + retained components
Return type: