LatticeView#
- class blueprints.LatticeView[source]#
Bases:
LatticeViewTypeA LatticeView is created whenever a
Latticeis indexed. Attribute getter and setter are handled through this View similar toView. For details have a look atLattice.Attributes Summary
The number of dimensions in the Lattice
Attributes Documentation
- n_dim#
The number of dimensions in the Lattice
- Return type:
int
- __init__(things, parent, keys=())[source]#
- Parameters:
things (
list) – The indexed Things of the parent Latticeparent (
blue.LatticeType) – The Lattice which was indexed to create the LatticeViewkeys (
tuple[int | slice]) – The keys used to index the Lattice
- classmethod __new__(*args, **kwargs)#