or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

array-creation.mdbinning-histogramming.mdcoordinate-systems.mdcore-data-structures.mdindex.mdinput-output.mdmathematical-operations.mdreduction-operations.mdscipy-integration.mdshape-operations.mdspatial-operations.mdtesting-utilities.mdunits-system.mdvisualization.md

coordinate-systems.mddocs/

0

# Coordinate Systems

1

2

Coordinate transformation functions and graph-based coordinate system management.

3

4

## Capabilities

5

6

### Coordinate Transformations

7

8

Functions for transforming between different coordinate systems with dependency tracking.

9

10

```python { .api }

11

def transform_coords(x, targets, **kwargs):

12

"""

13

Transform coordinate system

14

15

Args:

16

x (DataArray or Dataset): Input data with coordinates

17

targets (dict): Target coordinate specifications

18

**kwargs: Transformation parameters

19

20

Returns:

21

DataArray or Dataset: Data with transformed coordinates

22

"""

23

24

def show_graph(coords):

25

"""

26

Display coordinate transformation graph

27

28

Args:

29

coords (dict): Coordinate specifications

30

31

Returns:

32

Visualization of coordinate dependencies

33

"""

34

```