navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.interfaces.neuron.network.PointNetwork.plot_traces
          • PointNetwork.plot_traces()

    navis.interfaces.neuron.network.PointNetwork.plot_traces¶

    PointNetwork.plot_traces(bin_size=100, subset=None, rolling_window=None, group=False, stimuli=True, ax=None, backend='auto', **kwargs)[source]¶

    Plot mean firing rate.

    Parameters:
    • bin_size (int) – Size [ms] of the bins over which to average spike frequency.

    • subset (list-like) – Subset of IDs to plot. You can also use this to determine the order of appearance.

    • rolling_window (int) – Average firing rates over a given rolling window.

    • group (bool | array) – Set to True to group traces by label, showing mean firing rate and standard error as envelope. Pass an array of labels for each neuron to group by arbitrary labels.

    • ax (matplotlib axis | plotly figure, optional) – Axis/figure to plot onto.

    • stimuli (bool) – Whether to plot stimuli.

    • backend ("auto" | "plotly" | "matplotlib") – Which backend to use. If “auto” will use plotly in Jupyter environments and matplotlib elsewhere.

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.