indexvsh

pylayers.antprop.spharm.indexvsh(L)[source]

calculate index of vsh

Lint

degree max

tndarray ( (L+1)(L+2)/2 , 2 )

tab for indexing the upper triangle

>>> from pylayers.antprop.antenna import *
>>> indexvsh(3)
array([[1, 0],
       [1, 1],
       [2, 0],
       [2, 1],
       [2, 2],
       [3, 0],
       [3, 1],
       [3, 2],
       [3, 3]])