IrregularGrid1D

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

Bases: Grid1D

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

None

Attributes

name

num_samples

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

astropy.units.Quantity

Inheritance Diagram

Inheritance diagram of kgpy.grid.IrregularGrid1D

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

astropy.units.Quantity

Parameters
name: typing.Optional[numpy.ndarray] = None
property num_samples: int
points: astropy.units.Quantity = None
property range: Quantity
property shape: Tuple[int, ...]