polaris.tasks.ocean.realistic_global.dynamic_adjustment.viz.TracerChange
- class polaris.tasks.ocean.realistic_global.dynamic_adjustment.viz.TracerChange(density: ndarray, edges: ndarray, mean: float, rms: float, p99: float, max_abs: float)[source]
The change in one tracer over the adjustment: a volume-weighted histogram and the numbers that summarize it.
- Variables:
density (numpy.ndarray) – The volume-weighted probability density in each bin, per unit of the tracer.
edges (numpy.ndarray) – The bin edges, symmetric about zero.
mean (float) – The volume-weighted mean change.
rms (float) – The volume-weighted root-mean-square change.
p99 (float) – The magnitude of change that 99% of the ocean volume stays within.
max_abs (float) – The largest magnitude of change anywhere.
- __init__(density: ndarray, edges: ndarray, mean: float, rms: float, p99: float, max_abs: float) None
Methods
__init__(density, edges, mean, rms, p99, max_abs)Attributes
densityedgesmeanrmsp99max_abs