CoordinateSet
A subclass of np.ndarray that lives in an explicit coordinate system and can convert between them
Properties and Methods
__new__(cls, coords, system=CoordinateSystem(Cartesian3D, dimension=(None, 3), matrix=None), converter_options=None):
__init__(self, coords, system=CoordinateSystem(Cartesian3D, dimension=(None, 3), matrix=None), converter_options=None):
__array_finalize__(self, coords):
__str__(self):
__eq__(self, other):
@property
multiconfig(self):
Determines whether self.coords represents multiple configurations of the coordinates
:returns:_No description…
transform(self, tf):
Applies a transformation to the stored coordinates
tf:Anythe transformation function to apply to the system
:returns:_No description…
convert(self, system, **kw):
Converts across coordinate systems
system:CoordinateSystemthe target coordinate system
:returns:CoordinateSetnew_coords
derivatives(self, function, order=1, coordinates=None, result_shape=None, **fd_options):
Takes derivatives of function with respect to the current geometry
function:AnyNo description…
order:AnyNo description…
coordinates:AnyNo description…
fd_options:AnyNo description…
:returns:_No description…
jacobian(self, system, order=1, coordinates=None, converter_options=None, **fd_options):
Delegates to the jacobian function of the current coordinate system
system:AnyNo description…
order:AnyNo description…
mesh_spacing:AnyNo description…
prep:AnyNo description…
coordinates:AnyNo description…
fd_options:AnyNo description…
:returns:_No description…
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings