tedana.io.split_ts

split_ts(data, mixing, component_table)[source]

Split data time series into accepted component time series and remainder.

Parameters:
  • data ((Mb x T) array_like) – Input data, where Mb is samples in base mask, and T is time

  • mixing ((T x C) array_like) – Mixing matrix for converting input data to component space, where C is components and T is the same as in data

  • component_table ((C x X) pandas.DataFrame) – Component metric table. One row for each component, with a column for each metric. Requires at least two columns: “component” and “classification”.

Returns:

  • hikts ((Mb x T) numpy.ndarray) – Time series reconstructed using only components in acc

  • resid ((Mb x T) numpy.ndarray) – Original data with hikts removed