Changeset 23740 for trunk/psModules
- Timestamp:
- Apr 7, 2009, 4:50:25 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
. (modified) (1 prop)
-
psModules (modified) (1 prop)
-
psModules/src/camera/pmFPA.c (modified) (4 diffs)
-
psModules/src/camera/pmFPACopy.c (modified) (1 diff)
-
psModules/src/imcombine/pmSubtraction.c (modified) (1 diff)
-
psModules/src/imcombine/pmSubtractionMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 23690,23704,23711,23719,23723,23730-23735
- Property svn:mergeinfo changed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/pap/psModules merged: 23719,23731
- Property svn:mergeinfo changed
-
trunk/psModules/src/camera/pmFPA.c
r21363 r23740 298 298 299 299 300 pmCell *pmCellAlloc( 301 pmChip *chip, 302 const char *name) 300 pmCell *pmCellAlloc(pmChip *chip, const char *name) 303 301 { 304 302 pmCell *tmpCell = (pmCell *) psAlloc(sizeof(pmCell)); … … 323 321 } 324 322 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE; 325 // XXX does this work? moved to conceptsRead...pmConceptsBlankCell(tmpCell);323 pmConceptsBlankCell(tmpCell); 326 324 327 325 return tmpCell; … … 362 360 } 363 361 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE; 364 // XXX does this work? moved to conceptsRead...pmConceptsBlankChip(tmpChip);362 pmConceptsBlankChip(tmpChip); 365 363 return tmpChip; 366 364 } … … 393 391 } 394 392 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE; 395 // XXX does this work? moved to conceptsRead...pmConceptsBlankFPA(tmpFPA);393 pmConceptsBlankFPA(tmpFPA); 396 394 397 395 // this may be somewhat pedantic, but it makes these things consistent -
trunk/psModules/src/camera/pmFPACopy.c
r23319 r23740 399 399 if (targetHDU) { 400 400 pmHDU *sourceHDU = pmHDUFromCell(source); // The source HDU 401 if (!sourceHDU) { 402 psWarning("Unable to copy header: no source header."); 403 } else if (sourceHDU->header) { 401 if (sourceHDU && sourceHDU->header) { 404 402 targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header); 405 403 } -
trunk/psModules/src/imcombine/pmSubtraction.c
r21470 r23740 1385 1385 } 1386 1386 1387 // Data exists on the outputs now 1388 if (out1) { 1389 out1->data_exists = true; 1390 if (out1->parent) { 1391 out1->parent->data_exists = out1->parent->parent->data_exists = true; 1392 } 1393 } 1394 if (out2) { 1395 out2->data_exists = true; 1396 if (out2->parent) { 1397 out2->parent->data_exists = out2->parent->parent->data_exists = true; 1398 } 1399 } 1400 1401 1387 1402 psLogMsg("psModules.imcombine", PS_LOG_INFO, "Convolve image: %f sec", 1388 1403 psTimerClear("pmSubtractionConvolve")); -
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r23688 r23740 567 567 psFree(kernels); 568 568 kernels = NULL; 569 570 // There is data in the readout now571 if (subMode == PM_SUBTRACTION_MODE_1 || subMode == PM_SUBTRACTION_MODE_DUAL) {572 conv1->data_exists = true;573 if (conv1->parent) {574 conv1->parent->data_exists = true;575 conv1->parent->parent->data_exists = true;576 }577 }578 if (subMode == PM_SUBTRACTION_MODE_2 || subMode == PM_SUBTRACTION_MODE_DUAL) {579 conv2->data_exists = true;580 if (conv2->parent) {581 conv2->parent->data_exists = true;582 conv2->parent->parent->data_exists = true;583 }584 }585 569 } 586 570 }
Note:
See TracChangeset
for help on using the changeset viewer.
