max_over_phase class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.min_max
Summary
Returns, for each entity, the maximum value of (real value * cos(theta) - imaginary value * sin(theta)) for theta in [0, 360]degrees with the increment in input.
available inputs: real_field (Field), imaginary_field (Field), abs_value (bool) (optional), phase_increment (double) (optional)
available outputs: field (Field)
Example
op = max_over_phase()
op = max_over_phase(real_field=my_real_field,imaginary_field=my_imaginary_field,abs_value=my_abs_value,phase_increment=my_phase_increment)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.min_max |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
real_field
Type: LinkableInput
imaginary_field
Type: LinkableInput
abs_value
Should use absolute value.
Type: LinkableInput
phase_increment
Phase increment (default is 10.0 degrees).
Type: LinkableInput
Outputs
field
Type: LinkableOutput
Constructors
Constructor
max_over_phase()
Constructor
max_over_phase(real_field, imaginary_field, abs_value, phase_increment, config)
Parameters:
real_field(object)imaginary_field(object)abs_value(object)phase_increment(object)config(OperatorConfig)
Constructor
max_over_phase(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig