39 #include "levels_facilities.h" 44 int calc_powspec_module (
int argc,
const char **argv)
49 bool pol=params.find<
bool>(
"pol",
false);
50 string alm1=params.find<
string>(
"alm1");
51 string ps=params.find<
string>(
"ps");
53 if (!params.param_present(
"alm2"))
68 planck_assert(!pol,
"polarisation not supported for cross-powerspectra");
73 string alm2=params.find<
string>(
"alm2");
void read_Alm_from_fits(fitshandle &inp, Alm< xcomplex< T > > &alms, int lmax, int mmax)
void get_almsize_pol(const std::string &filename, int &lmax, int &mmax)
paramfile getParamsFromCmdline(int argc, const char **argv, bool verbose=true)
void module_startup(const std::string &name, bool argc_valid, const std::string &usage, bool verbose=true)
void extract_powspec(const Alm< xcomplex< T > > &alm, PowSpec &powspec)
void get_almsize(fitshandle &inp, int &lmax, int &mmax)
#define planck_assert(testval, msg)
void write_powspec_to_fits(fitshandle &out, const PowSpec &powspec, int nspecs)
void extract_crosspowspec(const Alm< xcomplex< T > > &alm1, const Alm< xcomplex< T > > &alm2, PowSpec &powspec)