set_norm#
- cherab.lhd.tools.visualization.set_norm(mode: Literal['scalar', 'log', 'centered', 'symlog', 'asinh'], vmin: float, vmax: float, linear_width: float | None = None) NormalizeSource#
Set variouse
Normalizeobject.- Parameters:
- mode{“scalar”, “log”, “centered”, “symlog”, “asinh”}
which scale to adapt to the colormap.
- vmin
float Minimum value of the profile.
- vmax
float Maximum value of the profile.
- linear_width
float,optional Linear width of asinh/symlog norm, by default None. If None, automatically set to two digit below the absolute value.
- Returns:
NormalizeNormalize object corresponding to the mode.