BirdSongToolbox.free_epoch_tools.label_focus_chunk

BirdSongToolbox.free_epoch_tools.label_focus_chunk(focus, labels, starts)

Create a list of every instance of the User defined User Label (Focus on One Label)

Parameters
focusstr or int

User defined Label to focus on

labelslist

List of all Labels corresponding to each Epoch in Full_Trials [Epochs]->[Labels]

startslist

List of all Start Times corresponding to each Epoch in Full_Trials [Epochs]->[Start Time]

Returns
label_indexlist

List of all start frames of every instances of the label of focus [Num_Trials]->[Num_Exs]