Skip to main content
Namespace: Ans.DataProcessing.operators.math

Summary

Shifts the phase of all the corresponding real and imaginary fields of a fields container for a given angle (in 2) of a unit (in 4). An output field is computed for each pair of real and imaginary fields in the input fields_container as field_out = real_field*cos(angle) - imaginary_field*sin(angle). available inputs: fields_container (FieldsContainer), angle (double), unit_name (string) (optional), abs_value (bool) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

angle

Type: LinkableInput

unit_name

String Unit. Supported values: “deg” or “rad”. Default: “rad”. Type: LinkableInput

abs_value

Type: LinkableInput

Outputs

fields_container

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • angle (object)
  • unit_name (object)
  • abs_value (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config