|
pulsatrix
|
Pure, ImGui/ImPlot-independent colormap and normalization functions for viz. More...
Go to the source code of this file.
Classes | |
| struct | pulsatrix::RgbColor |
| An RGB color, each channel in [0, 1]. More... | |
Namespaces | |
| namespace | pulsatrix |
Functions | |
| float | pulsatrix::NormalizeUnsigned (float value, float max_abs) |
| Normalizes value into [0, 1] against a known maximum magnitude, for unsigned (magnitude-only) quantities such as saliency intensity or ablation effect. | |
| float | pulsatrix::NormalizeSigned (float value, float max_abs) |
| Normalizes value into [-1, 1] against a known maximum absolute magnitude, for signed quantities such as attribution direction (positive/negative contribution). | |
| RgbColor | pulsatrix::ViridisColormap (float normalized_value) |
| Viridis colormap – perceptually uniform, colorblind-safe – for sequential/unsigned magnitude (hc_information_visualization.md SS4: "Recommended Color Systems"). | |
| RgbColor | pulsatrix::DivergingColormap (float signed_normalized_value) |
| Blue-White-Red diverging colormap for signed attribution (positive/negative contribution) – hue encodes direction only, never magnitude (hc_information_visualization.md SS1's Cleveland-McGill rule: color hue is categorical/directional, magnitude must be position or length). | |
Pure, ImGui/ImPlot-independent colormap and normalization functions for viz.