indexssh

pylayers.antprop.spharm.indexssh(L, mirror=True)[source]

create [l,m] indexation from Lmax

L : maximum order mirror : boolean

if True the output contains negative m indices

tnp.array

[l,m] Ncoeff x 2

>>> from pylayers.antprop.spharm import *
>>> indexssh(2)
array([[ 0.,  0.],
       [ 1.,  0.],
       [ 2.,  0.],
       [ 1.,  1.],
       [ 2.,  1.],
       [ 2.,  2.],
       [ 1., -1.],
       [ 2., -1.],
       [ 2., -2.]])