cogpy.plot.hv.signals

Static-compatible HoloViews plot primitives for signal analysis.

All functions return static HoloViews elements (Curve, Image, Overlay, Layout, HoloMap) — never DynamicMap — so they work in both live notebooks and static HTML export.

Functions

drift_plot(matched_times, matched_lags[, ...])

Scatter plot of matched lags vs time, with optional polynomial fit.

event_histogram(values, *[, bins, xlabel, ...])

Histogram of scalar values (e.g. inter-event intervals, lags, amplitudes).

factor_loading_grid(loadings, *[, ...])

Grid of spatial loading maps, one per factor, at peak frequency.

lag_histogram(counts, bin_edges, *[, title, ...])

Plot a cross-correlogram from event_lag_histogram output.

psd_curve(psd, freqs, *[, label, logx, logy])

PSD as a HoloViews Curve.

psd_overlay(psds, *[, logx, logy, title])

Overlay multiple PSDs for comparison (e.g. before/after).

psd_with_lines(psd, freqs, line_freqs, *[, ...])

PSD curve with vertical lines marking detected spectral peaks.

signal_trace(signal, *[, time, label, ...])

Simple time-series trace as a HoloViews Curve.

signal_traces_overlay(signals, *[, title, ...])

Overlay multiple time-series traces (e.g. before/after comparison).

spatial_heatmap(data, *[, ap_dim, ml_dim, ...])

Static heatmap of a 2D (AP, ML) scalar field.

spatial_heatmap_grid(maps, *[, ap_dim, ...])

Grid layout of multiple spatial heatmaps (e.g. per-band power, per-metric).

triggered_waveform(template[, std, ...])

Plot a triggered average waveform with optional ±1 std band.

triggered_waveform_grid(templates[, stds, ...])

Grid of triggered waveforms laid out by (AP, ML) electrode position.