dqa.tasks.transformations.SignWithThreshold#
- class dqa.tasks.transformations.SignWithThreshold(threshold: float, **kwargs)#
Returns the sign with a threshold around 0.
Returns 0 if the value is in the interval [-threshold, threshold], 1 if it is > threshold and -1 if it is smaller than threshold.
- Parameters:
threshold (float) – The threshold for the aforementioned function.
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