getNollPairs#

lsst.ts.wep.utils.getNollPairs(jmax)#

Split Noll indices 1..jmax into azimuthal pairs and singles.

Assumes jmax is pair-complete, i.e. no doublet is truncated by it.

Parameters:

jmax (int) – The maximum Noll index, inclusive.

Return type:

tuple[list, list]

Returns:

  • list – The (n, |m|) doublets as (j_cos, j_sin, n, |m|) tuples. The cosine member is always first, regardless of which of the two consecutive Noll indices carries the positive m.

  • list – The Noll indices with m == 0, which have no partner.