dqa.tasks.transformations.IntervalIndicator2#
- class dqa.tasks.transformations.IntervalIndicator2(beginning_name: str, end_name: str, timestamp_name: str, **kwargs)#
Computes an indicator time series for a list of intervals given by start and end points.
Takes the beginning and end timestamps of the intervals as data rows along with another row containing timestamps. Then corresponding to the timestamps, an indicator time series is generated which takes the value 0 outside the intervals and 1 for each timestamp that is contained in at least one interval.
- Parameters:
beginning_name (str) – Name of the data row containing the beginning timestamp for each interval.
end_name (str) – Name of the data row containing the end timestamp for each interval.
timestamp_name (str) – Name of the timestamp data row the result is generated for.
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