cogpy.plot.hv.xarray_hv
HoloViews helpers for xarray objects.
This module contains small utilities that make it easier to create quick “viewer-like” HoloViews objects from xarray tensors.
The functions are intentionally lightweight and avoid any repo-specific assumptions (no pipeline context, no derivative paths).
Functions
|
Add a clickable 1D hair (vertical/horizontal line) to a HoloViews object. |
|
Add a clickable "time hair" (vertical line) to a HoloViews Curve or Layout. |
|
Return a DynamicMap crosshair (HLine*VLine) from a selected channel controller. |
|
Bind Tap on an AP×ML view to update |
|
Extract per-channel (AP, ML) arrays from a standardized |
|
Create a dynamic HoloViews Image "movie" over remaining dimensions. |
|
Grid movie whose displayed frame follows a Param controller value. |
|
Common viewer layout: spatial "grid movie" + time curve with a linked time hair. |
|
Create a DynamicMap hair (VLine/HLine) driven by a Param controller. |
|
Umbrella wrapper for |
|
Replace selected coordinate values with 0..N-1 indices. |
|
Return a DynamicMap curve for the channel selected by |
|
Return nearest channel index given an (AP, ML) point. |
|
Standardize a grid signal to |
|
Umbrella helper to standardize signals to |