dqa.tasks.time_series.ComputeTimestamps#

class dqa.tasks.time_series.ComputeTimestamps(start_name: str, output_name: str, sample_row: str, sampling_time_name: str, unit: str, **kwargs)#

Computes a timestamp data row for a given input data row.

The result has the same length as the input and contains a timestamp corresponding to every entry.

Parameters:
  • start_name (str) – Name of a data row containing the start time as a single entry.

  • output_name (str) – Name of the output data row containing the time stamps.

  • sample_row (str) – Name of the data row the timestamps should be generated for.

  • sampling_time_name (str) – Name under which the sampling time is stored in the metadata dictionary of the sample row.

  • unit (str) – The unit of the sampling time stored in the metadata. Possible values are ‘s’, ‘ms’, ‘min’, ‘h’.

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