devctrl.data.transforms.normalize_to#

normalize_to(sdata, columns, xkey: str, x: float, dx: float | None = None, **apply_kw)[source]#

Normalize the data so that for each column, the value at x or the mean value of the range x-dx,x+dx is set to (-)1.

Parameters:
  • xkey – Column key of the x-data

  • x – x value

  • dx – Optional delta x