> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# max_over_phase class

**Namespace:** [Ans.DataProcessing.operators.min\_max](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/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

```python theme={null}
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

```python theme={null}
max_over_phase()
```

#### Constructor

```python theme={null}
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

```python theme={null}
max_over_phase(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
