TrialIndexer#

class syncopy.TrialIndexer(data_object, idx_list)[source]#

Bases: object

__init__(data_object, idx_list)[source]#

Class to obtain an indexable trials iterable from an instantiated Syncopy data class data_object. Relies on the _get_trial method of the respective data_object.

Parameters:
  • data_object (Syncopy data class, e.g. AnalogData) –

  • idx_list (list) – List of valid trial indices for _get_trial