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

# sweeping_phase_fc class

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

```python theme={null}
op = sweeping_phase_fc()

op = sweeping_phase_fc(fields_container=my_fields_container,angle=my_angle,unit_name=my_unit_name,abs_value=my_abs_value)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.math` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## 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

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

#### Constructor

```python theme={null}
sweeping_phase_fc(fields_container, angle, unit_name, abs_value, config)
```

**Parameters:**

* `fields_container` (*object*)
* `angle` (*object*)
* `unit_name` (*object*)
* `abs_value` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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