RectilinearGrid2D

class kgpy.grid.RectilinearGrid2D(points=None, name=None)

Bases: IrregularGrid1D, Grid2D

Parameters
__init__(points=None, name=None)
Parameters
Return type

None

Attributes

name

num_samples

num_samples_normalized

points

range

shape

Methods

__init__([points, name])

copy()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

copy_shallow()

rtype

typing.TypeVar(CopyableT, bound= Copyable)

mesh(shape, new_axes)

rtype

kgpy.vector.Vector2D

Inheritance Diagram

Inheritance diagram of kgpy.grid.RectilinearGrid2D

copy()
Return type

typing.TypeVar(CopyableT, bound= Copyable)

Parameters

self (CopyableT) –

copy_shallow()
Return type

typing.TypeVar(CopyableT, bound= Copyable)

Parameters

self (CopyableT) –

mesh(shape, new_axes)
Return type

kgpy.vector.Vector2D

Parameters
name: typing.Optional[numpy.ndarray] = None
property num_samples: Vector2D
property num_samples_normalized
points: kgpy.vector.Vector2D = None
property range: Quantity
property shape: Tuple[int, ...]