dataops.h

Go to the documentation of this file.
00001 
00002 
00003 //-----------------------------------------------------------------------------
00004 // SVN: $Id: dataops.h 5609 2009-04-01 16:25:46Z RossCollins $
00005 //-----------------------------------------------------------------------------
00006 #ifndef DATAOPS_H
00007 #define DATAOPS_H
00008 
00009 void make_overlay(double theta, int npixx, int npixy, float* overlay,
00010                   char *coordfile);
00011 
00013 void scaleasinh(float* buffer, int npixx, int npixy, float median,
00014                 float minval, float maxval, float sdev, double theta,
00015                 int neoverlay, float contrast, char *coordfile);
00016 
00019 float get_binned(int ix, int iy, int binsize, int npixx, float* buffer);
00020 
00022 void get_maxmin(float* buffer, long long npixels, float* z1, float* z2,
00023                 float* median, float* mean, float* sdev);
00024 
00029 void get_zscales(float contrast, int n1, int n2, float* buffer,
00030                  float* z1, float* z2);
00031 
00034 int compare(const float* v1, const float* v2);
00035 
00038 void lsfit(int ndata, float* xdata, float* ydata, float *a, float *b);
00039 
00041 float quick_select(float* a, long long n);
00042 //-----------------------------------------------------------------------------
00043 #endif
Generated on Mon Oct 4 10:39:50 2010 for WsaTools by  doxygen 1.6.3