NearestNeighbor¶
- class kgpy.interpolation.NearestNeighbor(data, grid)¶
Bases:
InterpolatorAttributes
Methods
__init__(data, grid)calc_index_nearest(grid)- rtype
copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
Inheritance Diagram
- calc_index_nearest(grid)¶
- Return type
- Parameters
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
-
data:
astropy.units.Quantity¶
- property ndim¶
- property shape¶