00001 #ifndef PM_FLAT_NORMALIZE_H 00002 #define PM_FLAT_NORMALIZE_H 00003 00004 #include "pslib.h" 00005 00006 // Normalise the flat-field measurements (f_ij = g_i s_j where f_ij is the flux recorded for chip i and 00007 // integration j, g_i is the gain for the i-th chip, s_j is the flux of the source in the j-th integration). 00008 // Return the source flux in each integration. 00009 psVector *pmFlatNormalize(bool *converge, // Did we converge? 00010 psVector *chipGains, // Initial guess of the chip gains; modified for return 00011 const psImage *fluxLevels, // Fluxes for each integration (row) and chip (col) 00012 unsigned int maxIter, // Maximum number of iterations 00013 float tolerance // Tolerance level before dying 00014 ); 00015 00016 #endif
1.4.4