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
:Any
the transformation function to apply to the system
:returns
:_
No description…
convert(self, system, **kw):
Converts across coordinate systems
system
:CoordinateSystem
the target coordinate system
:returns
:CoordinateSet
new_coords
derivatives(self, function, order=1, coordinates=None, result_shape=None, **fd_options):
Takes derivatives of function
with respect to the current geometry
function
:Any
No description…
order
:Any
No description…
coordinates
:Any
No description…
fd_options
:Any
No 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
:Any
No description…
order
:Any
No description…
mesh_spacing
:Any
No description…
prep
:Any
No description…
coordinates
:Any
No description…
fd_options
:Any
No description…
:returns
:_
No description…
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings