15 #include <CCfits/CCfits>
18 using namespace CCfits ;
76 valarray<unsigned short>
usarr ;
80 valarray<unsigned short>
sarr ;
102 Window(
char *fitsInname,
int gp =0,
int csiz = 2048) ;
104 Window(
string fitsInname,
int gp =0,
int csiz = 2048) ;
110 void win2win(
const int rotRight90,
const bool flip) ;
116 static bool isRef(
int xin,
int yin,
int xchipsize,
int ychipsize) ;
118 bool isRef(
int xin,
int yin)
const;
120 void blankRef(
int blank) ;
122 void cooGeirsWinToSplicRot(
int coo[2],
const int rotRight90,
const bool flip) ;
124 static void fourPix(
const string & tsiz,
int coo[4],
bool relwidth) ;
128 static string trimws(
const string & instring) ;
130 void rmFiles(
bool verbose=
false) ;
134 void cooGeirsNoWin(
int coo[2]) ;
136 void cooToWin(
int coo[2]) ;
138 void detIdx(
const int coo[2],
int idx[2]) ;
140 static void pixRot(
int coo[2],
int rotRight90,
bool flip) ;
142 void cooGeirsWinToSplic(
int coo[2]) ;
145 void cooGeirsWinToSplicRotWin(
int coo[2],
const int rotRight90,
const bool flip) ;
148 void readPix(
bool verbose);
150 void init(
bool verbose) ;
FITS * ifits
The FITS file that will be read/scanned.
Definition: Window.h:64
long bits
The indication of image type (integer, short, float...)
Definition: Window.h:96
valarray< unsigned short > usarr
Array of pixels in 16bit integer units.
Definition: Window.h:76
long naxes
The indication of dimension of the image (2=flat, 3=cubes,...)
Definition: Window.h:100
valarray< float > farr
array of pixels in floating point units.
Definition: Window.h:68
valarray< int > iarr
Array of pixels in 32bit integer units.
Definition: Window.h:72
string iname
Name of the input file.
Definition: Window.h:31
float pixsc
Pixel scale in units of degrees on the sky.
Definition: Window.h:92
int gap
Gap (measured in pixels) between the chips of the mosaic.
Definition: Window.h:36
int chpsz
Size (measured in pixels) of the single chip of the mosaic.
Definition: Window.h:41
valarray< unsigned short > sarr
Array of pixels in 16bit integer units.
Definition: Window.h:80