cherab.phix.tools.visualize.set_norm#

cherab.phix.tools.visualize.set_norm(mode, vmin, vmax, linear_width=1.0)Source#

Set variouse Normalize object.

Parameters:
  • mode (str) – the way of normalize the data scale. Must select one in {"scalar", "log", "centered", "symlog", "asinh"}

  • vmin (float) – minimum value of the profile.

  • vmax (float) – maximum value of the profile.

  • linear_width (float) – linear width of asinh/symlog norm, by default 1.0

Returns:

Normalize object corresponding to the mode.

Return type:

Normalize