Grid¶
- class kgpy.grid.Grid¶
Bases:
Copyable- __init__()¶
- Return type
None
Attributes
Methods
__init__()copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
flatten(axis_new)- rtype
typing.TypeVar(GridT, bound= Grid)
from_dict(value)- rtype
typing.TypeVar(GridT, bound= Grid)
subspace(subgrid)- rtype
typing.TypeVar(OtherGridT, bound= Grid)
Inheritance Diagram
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- flatten(axis_new)¶
- Return type
typing.TypeVar(GridT, bound= Grid)- Parameters
self (GridT) –
axis_new (str) –
- classmethod from_dict(value)¶
- Return type
typing.TypeVar(GridT, bound= Grid)- Parameters
value (Dict[str, AbstractArray]) –
- subspace(subgrid)¶
- Return type
typing.TypeVar(OtherGridT, bound= Grid)- Parameters
self (GridT) –
subgrid (OtherGridT) –
- property broadcasted: GridT¶
- property coordinates: List[AbstractArray]¶
- property value: Dict[str, AbstractArray]¶