Changeset 26971 for trunk/psModules/src/concepts/pmConceptsAverage.c
- Timestamp:
- Feb 16, 2010, 10:03:48 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsAverage.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsAverage.c
r26964 r26971 284 284 285 285 float temp = 0.0; // Temperature 286 float seeing = 0.0; // Seeing FWHM 286 287 int x0 = 0, y0 = 0; // Offset 287 288 int xParity = 0, yParity = 0; // Parity … … 297 298 } 298 299 temp += psMetadataLookupF32(NULL, chip->concepts, "CHIP.TEMP"); 300 seeing += psMetadataLookupF32(NULL, chip->concepts, "CHIP.SEEING"); 299 301 if (nChips == 0) { 300 302 xSize = psMetadataLookupS32(NULL, chip->concepts, "CHIP.XSIZE"); … … 341 343 342 344 temp /= (float)nChips; 345 seeing /= (float)nChips; 343 346 344 347 MD_UPDATE(target->concepts, "CHIP.TEMP", F32, temp); 348 MD_UPDATE(target->concepts, "CHIP.SEEING", F32, seeing); 345 349 if (same) { 346 350 MD_UPDATE(target->concepts, "CHIP.X0", S32, x0);
Note:
See TracChangeset
for help on using the changeset viewer.
