dqa.tasks.transformations.PhaseSequence#

class dqa.tasks.transformations.PhaseSequence(phases_axis: int = 1, coefficients_axis: int = 2, coefficient_range: Optional[List[int]] = None, **kwargs)#

Determines the phase sequence from the fourier coefficients of a three-phase alternating current.

The input is an array containing the Fourier coefficients for each of the three phases. For a 2D-array (one axis for the time, one axis for the phases), it returns -1/0/+1, while +1 stands for the phase order 1-2-3. For arrays with more axes, it performs this action for each coordinate along the other axes separately.

Parameters:
  • phases_axis (int, default=1) – The axis along which the phases are arranged.

  • coefficient_axis (int, default=2) – The axis along which the Fourier coefficients are arranged.

  • coefficient_range (list of ints, default=None) – If set, only the coefficients in the range defined by the elements are considered.

Methods

finish()

Can perform actions that are required to clean up after the task has finished, e.g.

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