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. :param xkey: Column key of the x-data :param x: x value :param dx: Optional delta x