21 cout <<
"Sky Patches : " << L << endl;
47 int size=2*180*resolution*2*360*resolution;
51 double* binc =
new double[
size];
54 for(
int i=0;
i<2*180*resolution;
i++) {
55 for(
int j=0;
j<2*360*resolution;
j++) {
56 phi[
k]=(double)
j/(2*resolution);
57 theta[
k]=(double)
i/(2*resolution);
70 sprintf(title,
"HEALPix skymap order = %d : Sky Patches = %d",order,L);
79 for(
int l=0;
l<
L;
l++) {
86 sprintf(ofileName,
"HEALPix_skymap_order_%d.png",order);
void DrawMarker(double phi, double theta, int marker, Size_t msize=1, Color_t tcolor=1)
double getTheta(size_t i)
void Draw(int dpaletteId=0, Option_t *option="colfz")
void DrawHEALPix(int order=3, bool save=false)
size_t getSkyIndex(double th, double ph)
param: theta param: phi
void FillData(int size, double *phi, double *theta, double *binc)
void SetTitle(TString title)
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
void Print(TString pname)
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)