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

# modal_participation class

**Namespace:** [Ans.DataProcessing.operators.math](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/math)

## Summary

Compute the modal participation factor for a given vector field V, defined as  sum\_i ( V .dot. mode\_shape\_i \* ponderation ).

available inputs: `v_real` (Field), `v_imag` (Field), `mode_shapes` (FieldsContainer), `ponderation` (Field) (optional), `force_label_space` (LabelSpace) (optional)

available outputs: `output` (FieldsContainer)

## Example

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

op = modal_participation(v_real=my_v_real,v_imag=my_v_imag,mode_shapes=my_mode_shapes,ponderation=my_ponderation,force_label_space=my_force_label_space)
```

## Class Information

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

## Inputs

### v\_real

real part of field V

**Type:** *LinkableInput*

### v\_imag

imag part of field V

**Type:** *LinkableInput*

### mode\_shapes

**Type:** *LinkableInput*

### ponderation

**Type:** *LinkableInput*

### force\_label\_space

If set, will force a label space for output result.

**Type:** *LinkableInput*

## Outputs

### output

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
modal_participation(v_real, v_imag, mode_shapes, ponderation, force_label_space, config)
```

**Parameters:**

* `v_real` (*object*)
* `v_imag` (*object*)
* `mode_shapes` (*object*)
* `ponderation` (*object*)
* `force_label_space` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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