Headers#

miniscope_io.plots.headers.battery_voltage(headers: DataFrame, ax: Axes) Axes#
miniscope_io.plots.headers.buffer_count(headers: DataFrame, ax: Axes) Axes#
miniscope_io.plots.headers.dropped_buffers(headers: DataFrame, ax: Axes) Axes#
miniscope_io.plots.headers.plot_headers(headers: ~pandas.core.frame.DataFrame) -> (<class 'matplotlib.figure.Figure'>, <class 'matplotlib.axes._axes.Axes'>)#

Plot the headers (generated from Frame.to_df() )

Mimicking the plot in https://github.com/Aharoni-Lab/Miniscope-v4-Wire-Free/blob/2fd86cc85b810b2ecc6f71c8ee2dffdb838badcf/Miniscope-v4-Wire-Free-Python%20DAQ%20Interface/Load%20raw%20data%20from%20SD%20card%20and%20write%20video%20-%20WireFree%20V4%20Miniscope.ipynb For more generic plotting, see pandas.DataFrame.plot()

Parameters:

headers (pandas.DataFrame) – headers to plot

miniscope_io.plots.headers.timestamps(headers: DataFrame, ax: Axes) Axes#