BirdSongToolbox
  • Installation
  • Overview
  • Tutorials
  • Glossary
  • FAQ
  • API
  • Examples
  • GitHub
  • Site
    • Source

    BirdSongToolbox.free_epoch_tools.get_event_related_nd_chunk¶

    BirdSongToolbox.free_epoch_tools.get_event_related_nd_chunk(chunk_data, chunk_indices, fs, window, subtract_mean=None, overlapping=None, \*\*kwargs)¶

    Run the get_event_related_nd across all chunks

    Parameters
    chunk_data: list | shape [Chunks]->(Channels, Samples) or (Frequencies, Channels, Samples)

    Neural Data

    chunk_indiceslist, shape [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_instancesndarray | shape (Instances, Channels, Samples) or (Instances, Frequencies, Channels, Samples)

    event related data

    Back to top

    © Copyright 2018-2020, Gilja Group.
    Created using Sphinx 3.0.3.