acoustotreams.ScalarCylindricalWaveBasis.__getitem__

ScalarCylindricalWaveBasis.__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.

Alternatively, the string “pkzm” or “kzm” can be used to select a corresponding subset of the attributes pidx, kz, and m.