#ifndef ANAGEN_H_SEEN
#define ANAGEN_H_SEEN

#include <complex>
#include <vector>
#include "tvector.h"
#include "sphericalmap.h"

void map2almgen(int nsmax,int nlmax,int nmmax,const SphericalMap<double>& map,
	     vector< vector< complex<double> > >& alm, double cos_theta_cut);

void comp_phas2gen(int nsmax,int nlmax,int nmmax, Vector datain,
	       	int nph,vector< complex<double> >& dataout,double phi0);

#endif
