sisl_toolbox.btd.BlockArrayIndexer
- class sisl_toolbox.btd.BlockArrayIndexer
Bases:
objectIndexer of a
BlockArrayusing block indicesBI[i, j, ...]is the block of the indices in blockialong the first axis, blockjalong the second axis, etc. Undefined blocks are returned as new zero arrays (which are not stored in the array). Assigning a block stores it (no copy) if it has the data-type and memory order of the array, otherwise it is converted.