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

# coordinate_system class

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

## Summary

Extracts the Rotation Matrix and Origin of a specific coordinate system.

available inputs: `cs_id` (Int32), `streams_container` (StreamsContainer) (optional), `data_sources` (DataSources)

available outputs: `field` (Field)

## Example

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

op = coordinate_system(cs_id=my_cs_id,streams_container=my_streams_container,data_sources=my_data_sources)
```

## Class Information

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

## Inputs

### cs\_id

**Type:** *LinkableInput*

### streams\_container

**Type:** *LinkableInput*

### data\_sources

**Type:** *LinkableInput*

## Outputs

### field

The first 9 double are the rotation (3x3 matrix) and the last 3 is the translation vector. The rotation matrix stored is from local to global coordinate system.

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
coordinate_system(cs_id, streams_container, data_sources, config)
```

**Parameters:**

* `cs_id` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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