Linear¶
- class kgpy.interpolation.Linear(data, grid)¶
Bases:
InterpolatorAttributes
Methods
__init__(data, grid)calc_index_lower(grid)- rtype
copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
eval_recursive(grid[, index_lower, axis])lerp(x, x0, x1, y0, y1)- rtype
Inheritance Diagram
- calc_index_lower(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) –
- eval_recursive(grid, index_lower=None, axis=0)¶
- classmethod lerp(x, x0, x1, y0, y1)¶
-
data:
astropy.units.Quantity¶
- property ndim¶
- property shape¶