Skip to main content

math:sweeping phase (fields container)

Version: 0.0.0

Description

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).

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container
Pin 2
Required
angledouble
Pin 3unit_namestringString Unit. Supported values: "deg" or "rad". Default: "rad".
Pin 4
Required
abs_valuebool

Outputs

OutputNameExpected type(s)Description
Pin 0fields_containerfields_container

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: math

Plugin: core

Scripting name: None

Full name: None

Internal name: sweeping_phase_fc

License: None

Changelog

  • Version 0.0.0: Initial release.