sdynpy.core.sdynpy_geometry.CoordinateSystemArray

class CoordinateSystemArray(shape, buffer=None, offset=0, strides=None, order=None)[source]

Bases: SdynpyArray

Coordinate System Information specifying position and directions.

Use the coordinate_system_array helper function to create the array.

__init__()

Methods

from_unv(unv_data_dict[, combine])

Load CoordinateSystemArrays from universal file data from read_unv

Attributes

data_dtype

data_dtype = [('id', 'uint64'), ('name', '<U40'), ('color', 'uint16'), ('cs_type', 'uint16'), ('matrix', 'float64', (4, 3))]
static from_unv(unv_data_dict, combine=True)[source]

Load CoordinateSystemArrays from universal file data from read_unv

Parameters
  • unv_data_dict (dict) – Dictionary containing data from read_unv

  • combine (bool, optional) – If True, return as a single CoordinateSytemArray

Returns

output_arrays – Coordinate Systems read from unv

Return type

CoordinateSystemArray