OPERA  1.0
Open source echelle spectrograph reduction pipeline
operaCCD.h
Go to the documentation of this file.
00001 #ifndef OPERACCD_H
00002 #define OPERACCD_H
00003 
00004 #define BIG 1.0e30
00005 
00006 #define true 1
00007 #define false 0
00008 
00009 #ifndef PI 
00010 #define PI 3.141592654
00011 #endif
00012 
00013 /* prototypes for gain calculations*/
00014 void operaMaskPixbyCountRange(unsigned npixels, float *array, float *badpixmask, float *newmask, float minvalue, float maxvalue, unsigned char invert);
00015 void operaMarkPixbyCountRange(unsigned npixels, float *array, float *previousmarks, float *newmarks, float minvalue, float maxvalue, float index2mark);
00016 void operaCCDGainNoise(unsigned npixels, unsigned nbias, float *biasdata[], unsigned nflat, float *flatdata[], float *badpixdata, float lowcount, float highcount, float maxbins, float minnpixelsperbin, float *gain, float *noise);
00017 
00018 #endif