bin_llcl
This IDL facility provides a means to bin an angular power spectrum into
arbitrary bins.
Location in HEALPix directory tree: src/idl/misc/bin_llcl.pro
FORMAT
QUALIFIERS

Llcl_in
 1D vector: input power spectrum (given for each l starting at 0).

Bin
 input: binning in l to be applied,
either a scalar interpreted as the step size of a regular binning, the first
bins are then {0, bin  1},{bin, 2bin1},
or a 1D vector, interpreted as the lower bound of
each bin, ie the first bins are {bin[0],bin[1]1}, {bin[1], bin[2]1},

L_out
 contains on output the center of each bin l_{b}.

Llcl_out
 contains on output the binned power spectrum
C(b), ie the (weighted) average of the input C(l) over each bin.

Dllcl
 optional, contains on output a rough estimate of the rms of the binned C(l) for a full
sky observation

DELTAL=
 optional, contains on output the size of each bin
KEYWORDS

/FLATTEN
 if set, the C(l) is internally multiplied by
before being binned.
By default, the input Llcl_in is binned as is.

/HELP
 if set, an extended help is printed and the code exits.

/UNIFORM
 if set, the C(l) in each bin is given the same weight.
By default a weight is used (inverse cosmic variance
weighting). Note that this weighting affects
Llcl_out but not
L_out.
DESCRIPTION
bin_llcl bins the input power spectrum (as is, or after flattening by a
factor) according to an arbitrary binning scheme defined by the
user. Different weighting scheme (uniform or inverse variance) can be applied inside the bins.
RELATED ROUTINES
This section lists the routines related to bin_llcl

idl
 version 6.4 or more is necessary to run bin_llcl.

fits2cl
 facility to read a power spectrum from
a FITS file.
EXAMPLE:
Version 3.31, 20170106