Changeset 19532 for trunk/psModules/src/imcombine/pmSubtractionIO.c
- Timestamp:
- Sep 11, 2008, 6:12:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtractionIO.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionIO.c
r19230 r19532 32 32 #define NAME_SOL1 "SOLUTION_1" // Solution for convolving image 1 33 33 #define NAME_SOL2 "SOLUTION_2" // Solution for convolving image 2 34 #define NAME_MEAN "MEAN" // Mean of chi^2 from stamps 35 #define NAME_RMS "RMS" // RMS of chi^2 from stamps 36 #define NAME_NUMSTAMPS "NUMSTAMPS" // Number of good stamps 34 37 35 38 #define FALLBACK_EXTNAME "SUBTRACTION_KERNEL" // Fallback extension name … … 159 162 psMetadataAddVector(row, PS_LIST_TAIL, NAME_SOL2, 0, "Solution vector 2", kernel->solution2); 160 163 } 164 psMetadataAddF32(row, PS_LIST_TAIL, NAME_MEAN, 0, "Mean of chi^2 from stamps", kernel->mean); 165 psMetadataAddF32(row, PS_LIST_TAIL, NAME_RMS, 0, "RMS of chi^2 from stamps", kernel->rms); 166 psMetadataAddF32(row, PS_LIST_TAIL, NAME_NUMSTAMPS, 0, "Number of good stamps", kernel->numStamps); 161 167 } 162 168 psFree(regions); … … 167 173 // CVS tags, used to identify the version of this file (in case incompatibilities are introduced) 168 174 psString cvsFile = psStringCopy("$RCSfile: pmSubtractionIO.c,v $"); 169 psString cvsRev = psStringCopy("$Revision: 1. 3$");170 psString cvsDate = psStringCopy("$Date: 2008-0 8-27 02:54:44$");175 psString cvsRev = psStringCopy("$Revision: 1.4 $"); 176 psString cvsDate = psStringCopy("$Date: 2008-09-12 04:12:42 $"); 171 177 psStringSubstitute(&cvsFile, NULL, "RCSfile: "); 172 178 psStringSubstitute(&cvsRev, NULL, "Revision: "); … … 338 344 TABLE_LOOKUP(int, S32, numRows, NAME_ROWS); 339 345 346 TABLE_LOOKUP(float, F32, mean, NAME_MEAN); 347 TABLE_LOOKUP(float, F32, rms, NAME_RMS); 348 TABLE_LOOKUP(int, S32, numStamps, NAME_NUMSTAMPS); 349 340 350 pmSubtractionKernels *kernels = pmSubtractionKernelsFromDescription(description, bg, mode); 341 351 kernels->numCols = numCols; 342 352 kernels->numRows = numRows; 353 kernels->mean = mean; 354 kernels->rms = rms; 355 kernels->numStamps = numStamps; 343 356 344 357 bool mdok; // Status of MD lookup
Note:
See TracChangeset
for help on using the changeset viewer.
