treams.PlaneWaveBasisByUnitVector.index

PlaneWaveBasisByUnitVector.index(value[, start[, stop]]) integer -- return first index of value.

Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.