- Timestamp:
- Oct 7, 2010, 9:44:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psphot/src/psphotSignificanceImage.c
r29004 r29347 4 4 // (S/N)^2. If FWMH_X,Y have been recorded, use them, otherwise use PEAKS_SMOOTH_SIGMA for the 5 5 // smoothing kernel. 6 psImage *psphotSignificanceImage (pmReadout *readout, psMetadata *recipe, const int pass,psImageMaskType maskVal) {6 psImage *psphotSignificanceImage (pmReadout *readout, psMetadata *recipe, psImageMaskType maskVal) { 7 7 8 8 float SIGMA_SMTH, NSIGMA_SMTH; … … 67 67 // XXX change these to recipe value checks 68 68 if (psTraceGetLevel("psphot") > 5) { 69 static int pass = 0; 69 70 char name[64]; 70 71 sprintf (name, "imsmooth.v%d.fits", pass); … … 72 73 sprintf (name, "wtsmooth.v%d.fits", pass); 73 74 psphotSaveImage(NULL, smooth_wt, name); 75 pass ++; 74 76 } 75 77 … … 108 110 if (psTraceGetLevel("psphot") > 5) { 109 111 char name[64]; 112 static int pass = 0; 110 113 sprintf (name, "snsmooth.v%d.fits", pass); 111 114 psphotSaveImage (NULL, smooth_im, name); 115 pass ++; 112 116 } 113 117
Note:
See TracChangeset
for help on using the changeset viewer.
