BirdSongToolbox.free_epoch_tools.event_clipper_freqs¶
-
BirdSongToolbox.free_epoch_tools.
event_clipper_freqs
(filt_data, label_events, fs, window, subtract_mean=None, \*\*kwargs)¶ Get all of the Instances for all Labels given for all frequency bands for one set of chunks
- Parameters
- filt_data: list | shape [Freq]->[Chunks]->(Channels, Samples)
Neural Data
- label_eventslist | shape [Label]->[Chunks]->[Events]
Onsets of the Labels to be Clipped
- fsint
Sampling Frequency
- windowtuple | shape (start, end)
Window (in ms) around event onsets, window components must be integer values
- subtract_meantuple, optional | shape (start, end)
if present, subtract the mean value in the subtract_mean window for each trial from that trial’s time series (this is a trial-by-trial baseline)
- Returns
- chunk_eventslist | shape [Labels]->[Freq]->(Instances, Channels, Samples)
Neural Data in the User Defined Window for all Instances of each Label