cube_to_long

brainsets.processing.signal.cube_to_long(ts, cube, channel_prefix='chan')[source]

Convert a cube of threshold crossings to a list of trials and units.

Return type:

Tuple[List[IrregularTimeSeries], Data]