convolvecl.mixmat_eb

convolvecl.mixmat_eb(cl, l1max=None, l2max=None, l3max=None, spin=(0, 0), spin_out=None)

compute the E/B-mode mixing matrix for an angular power spectrum

Equivalent to mixmat(), but computes the mixing matrices for E/B-mode angular power spectra.

Parameters:
clarray_like

Angular power spectrum of the mixing matrix.

l1maxint, optional

Maximum output mode. If not given, the size of cl is used.

l2maxint, optional

Maximum input mode. If not given, the value of l1max is used.

l3maxint, optional

Maximum mode for summation. If not given, all cl values are summed.

spin(2,) tuple of int

Spin weights of the input angular power spectrum which will be multiplied by the mixing matrix.

spin_out(2,) tuple of int

Spin weights of the output angular power spectrum after the mixing matrix has been applied.

Returns:
mat(3, l1max+1, l2max+1) array

Mixing matrix for given cl and spin weights. The 3 components are the EE-EE (or BB-BB) mixing matrix \(W^{++}\), the EE-BB (or BB-EE) mixing matrix \(W^{--}\), and the EB-EB mixing matrix \(W^{++} + W^{--}\).

See also

mixmat

Compute the mixing matrix without E/B-mode decomposition.