title | keywords | sidebar | permalink | summary | tags | toc | editdoc | |
---|---|---|---|---|---|---|---|---|
PlmIndex (Fortran) |
spherical harmonics software package, spherical harmonic transform, legendre functions, multitaper spectral analysis, fortran, Python, gravity, magnetic field |
mydoc_sidebar |
plmindex.html |
|
false |
fdoc |
Compute the index of an array corresponding to degree l
and angular order m
.
index
= PlmIndex (l
, m
)
index
: function output, integer
: Index of an array of associated Legendre functions corresponding to degree l
and angular order m
.
l
: input, integer
: The spherical harmonic degree.
m
: input, integer
: The angular order.
PlmIndex
will calculate the index of an array of associated Legendre functions corresponding to degree l
and angular order m
. The input arrays are generated by routines such as PlmBar
, PlmBar_d1
, PlmSchmidt
, PlmSchmidt_d1
, PlmON
, PlmON_d1
, PLegendreA
, and PLegendreA_d1
. The array index is equal to l*(l+1)/2+m+1
.
plmbar, plmbar_d1, plmschmidt, plmschmidt_d1, plmon, plmon_d1, plegendrea
, plegendrea_d1