acoustotreams.ScalarPlaneWaveBasisByComp.__getitem__¶
- ScalarPlaneWaveBasisByComp.__getitem__(idx)[source]¶
Get a subset of the basis.
This function supports indexing the basis set using an integer, a slice, an ellipsis, an empty tuple, or a sequence of integers or booleans. Indexing with an integer or an empty tuple returns a tuple; all other index types return a new basis set.