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

# split_streams class

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

## Summary

Splits a Streams into multiple coherent streams, actual number of outputs is always less or equal to the given desired number of ouputs.

available inputs: `streams` (StreamsContainer), `output_count` (Int32)

available outputs: `output_count` (Int32), `outputs1` (StreamsContainer), `outputs2` (StreamsContainer)

## Example

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

op = split_streams(streams=my_streams,output_count=my_output_count)
```

## Class Information

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

## Inputs

### streams

Streams to split.

**Type:** *LinkableInput*

### output\_count

Number of desired outputs.

**Type:** *LinkableInput*

## Outputs

### output\_count

Actual number of outputs.

**Type:** *LinkableOutput*

### outputs1

Streams outputs.

**Type:** *LinkableOutput*

### outputs2

Streams outputs.

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
split_streams(streams, output_count, config)
```

**Parameters:**

* `streams` (*object*)
* `output_count` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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