dqa.tasks.transformations.LinearTransform#
- class dqa.tasks.transformations.LinearTransform(intercept: float = 0, factor: float | List[float] = 1, factor_inv: float | List[float] = 1, **kwargs)#
Applies an affine linear transformation to the data with constant coefficients.
Computes the result (data) * factor / factor_inv + intercept.
- Parameters:
intercept (float, default=0) – Constant term added to the data.
factor (float or list of floats, default=1) – The constant factor. If multiple values given, then they are multiplied.
factor_inv (float, default=1) – The inverse constant factor. If multiple values given, then they are multiplied.
Methods
finish
()Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.
in_out_default
input_output_dataset
input_output_machine
input_output_mode
input_output_name
log
modify_data_row
modify_dataset
modify_dataset_dict
modify_machine
modify_measurement
set_logging_level
transfer_metadata