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
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container | |
| Pin 2 Required | angle | double | |
| Pin 3 | unit_name | string | String Unit. Supported values: "deg" or "rad". Default: "rad". |
| Pin 4 Required | abs_value | bool |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If 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.