BirdSongToolbox.free_epoch_tools.label_group_chunk

BirdSongToolbox.free_epoch_tools.label_group_chunk(Focuses, labels, starts)

Group Selected labels together into One Label e.g. Combine Calls and Intro. Notes (Group these labels together)

Parameters
focusstr or int

User defined Label to focus on

labelslist, shape [Epochs]->[labels]

List of all labels corresponding to each Epoch in Full_Trials

startslist, shape [Epochs]->[Start Time]

List of all Start Times corresponding to each Epoch in Full_Trials

Returns
label_indexlist, shape [Num_Trials]->[Num_Exs]

List of all start frames of every instances of the label of focus