spectrochempy.Quantity.ito

Quantity.ito(other=None, *contexts, **ctx_kwargs)[source]

Inplace rescale to different units.

Parameters
  • other (pint.PlainQuantity, str or dict) – Destination units. (Default value = None)

  • *contexts (str or pint.Context) – Contexts to use in the transformation.

  • **ctx_kwargs – Values for the Context/s