Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DrawFits.C
Go to the documentation of this file.
1 //
2 // This example show how to display skymap probability from fits file
3 // Author : Gabriele Vedovato
4 
5 
6 //#define COORDINATES "cWB"
7 //#define COORDINATES "Geographic"
8 #define COORDINATES "Celestial"
9 
10 #define PROJECTION ""
11 //#define PROJECTION "hammer"
12 //#define PROJECTION "sinusoidal"
13 
14 //#define PRINT_SKYMAP
15 
16 void DrawFits(TString fitsName) {
17 
18  gskymap* gSM = new gskymap(fitsName.Data());
20  gSM->Draw();
21 #ifdef PRINT_SKYMAP
22  gSM->Print("probability_skymap.png");
23 #endif
24 }
gskymap * gSM
#define PROJECTION
Definition: DrawFits.C:10
TString("c")
void DrawFits(TString fitsName)
Definition: DrawFits.C:7
#define COORDINATES
Definition: DrawFits.C:8
void Draw(int dpaletteId=0, Option_t *option="colfz")
Definition: gskymap.cc:442
void Print(TString pname)
Definition: gskymap.cc:1104
void SetOptions(TString projection="hammer", TString coordinate="Geographic", double resolution=1, bool goff=false)
Definition: gskymap.cc:66