API docs¶
Fields¶
|
An array with optional named dimensions and associated coordinates. |
|
Returns a field broadcasted like |
|
Returns a field with the axes in the given order. |
|
Returns a Field with attached coordinates to the positional axes. |
|
Returns a view of the field with the requested axes made positional. |
|
Extracts underlying data from a field without named dimensions. |
|
Wraps a positional array as a |
|
Vectorizes |
|
Coordinate preserving cmap. |
|
Tag dimensions on all fields in a PyTree. |
|
Untag dimensions from all fields in a PyTree. |
|
Returns True if |
|
Returns a single coordinate for a field. |
|
Returns axis name that is not present in |
|
Returns a Field with |
Coordinates¶
Abstract class for coordinate objects. |
|
|
Coordinate defined as the outer product of independent coordinates. |
|
Dummy coordinate for dimensions without associated coordinate values. |
|
One dimensional coordinate with custom coordinate values. |
|
Zero dimensional sentinel coordinate used to label scalar fields. |
|
One dimensional coordinate with fixed size but no associated fields. |
|
Coordinate that exposes one dimension of a multidimensional coordinate. |
|
Canonicalize coordinates into a minimum equivalent collection. |
|
Compose coordinates into a unified coordinate system. |
|
Returns |
|
Returns |
Xarray compatibility¶
|
Create a coordax.Field from an xarray.DataArray. |
Convert this Field to an xarray.DataArray with NumPy array data. |
|
|
Convert coordinates of an |
|
For use when no Coordax coordinate matches xarray coordinate. |
Testing¶
|
Asserts that two ``Field``s are close and have matching coordinates. |
|
Asserts that two ``Field``s are equal and have matching coordinates. |
|
Asserts that a |
Experimental¶
|
Abstract base class for non-JAX arrays that can be used with Coordax. |
|
Registers a new duck-typed array type corresponding to a numpy dtype. |