At this point there is no direct straightforward solution to your problem.
Here’s a workaround:
1. Scroll through traces and select all events regardless of whether they're compound events
2. Extract all selected events
3. Go through the extracted events by navigating through the traces with the right cursor key
4. Whenever you see a compound event, press ’S’ to select the trace.
5. Once you’re done selecting all compound events, create a new table that shows you, for each event, whether the event was selected or not:
>>> iselected = stf.get_selected_indices()
>>> stf.show_table({'Event no {0:05d}'.format(nt+1): int(nt in iselected) for nt in range(stf.get_size_channel())}, "Event type")
6. Combine the two tables into a single table in a spreadsheet program.
Is that helpful at all?
Some notes:
a) The tables will be alphabetically sorted using the first column, even if you sort your dictionary otherwise. That’s why you need to format the event number using “05d” (5 digit integer with leading 0). If you have more than 99999 events you’ll have to adjust the number of digits accordingly.
b) Event counting in the table will be starting with “1” to be consistent with the event table that is produced upon event extraction (nt+1). You may want to double check that your selected events in the table are correctly labelled when you first run the script (i.e. make sure they are not offset by 1).
> To unsubscribe from this group and stop receiving emails from it, send an email to
stimfit+u...@googlegroups.com.