index_vsh

pylayers.antprop.spharm.index_vsh(L, M)[source]

vector spherical harmonics indexing

Lint

degree max sum(1..L) L points

Mint

order max sum(0..M) M+1 points

M <=L

ind[0] = n ind[1] = m

This function is more generic than indexvsh because it allows to have M<>L

indexvsh