cogpy.plot.hv.grid_frame_element

grid_frame_element.py

Spatial AP×ML frame viewer driven by a TimeHair.

Shows one scalar frame (one value per electrode) at the time selected by a TimeHair. Three reduction modes:

  • "instantaneous": snap to the nearest sample, no windowing.

  • "rms": RMS over window_s seconds centred on t.

  • "mean": arithmetic mean over window_s seconds centred on t.

When a ProcessingChain is provided, windowed modes call chain.get_window(t0, t1) before reducing, so the displayed frame reflects the same processing applied in the multichannel viewer.

Typical usage

hair = TimeHair() frame = GridFrameElement(sig_grid, hair, mode=”rms”, chain=chain) pn.Row(frame.panel(), viewer.panel()).servable()

Classes

GridFrameElement(sig_grid, hair, *[, mode, ...])

Spatial AP×ML frame viewer driven by a TimeHair.