devctrl.data.transforms#
Module attributes
REGISTERING TRANSFORMS Transforms can be registered using the decorator _register_transform. |
Functions
Apply a transform to all selected columns. |
|
Calculate the n-th derivative of column(s) <key> numerically. :param n: The derivative to calculate :param pre_func: A function taking and returning a 1d numpy array. If given, it is applied before every derivative. This may, for example, be useful if the data should be smoothened before taking the derivatives. |
|
Create new versions of all registered functions with new default arguments override_kwargs |
|
Return the scale factor that data must be multiplied with to be entirely within the interval [-1, 1] |
|
Numerically integrate the data of column(s) <key> n times |
|
Normalize all columns except skipcols so that the largest absolute value becomes either 1 or -1. |
|
Return data scaled to be within [-1, 1] |
|
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. |
|
Notch filter at frequency w0 with quality factor Q. |
|
Delete all rows where any number is nan |
|
Multiply data by factor |
|
Add shift to data |
|
Shift data so that either the min or max value is zero |
|