IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23740 for trunk/psModules


Ignore:
Timestamp:
Apr 7, 2009, 4:50:25 PM (17 years ago)
Author:
Paul Price
Message:

Merging branches/pap from r23739 onto trunk. No conflicts, ppSub builds fine.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/psModules

  • trunk/psModules/src/camera/pmFPA.c

    r21363 r23740  
    298298
    299299
    300 pmCell *pmCellAlloc(
    301     pmChip *chip,
    302     const char *name)
     300pmCell *pmCellAlloc(pmChip *chip, const char *name)
    303301{
    304302    pmCell *tmpCell = (pmCell *) psAlloc(sizeof(pmCell));
     
    323321    }
    324322    tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    325     // XXX does this work?  moved to conceptsRead... pmConceptsBlankCell(tmpCell);
     323    pmConceptsBlankCell(tmpCell);
    326324
    327325    return tmpCell;
     
    362360    }
    363361    tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    364     // XXX does this work?  moved to conceptsRead... pmConceptsBlankChip(tmpChip);
     362    pmConceptsBlankChip(tmpChip);
    365363    return tmpChip;
    366364}
     
    393391    }
    394392    tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE;
    395     // XXX does this work?  moved to conceptsRead... pmConceptsBlankFPA(tmpFPA);
     393    pmConceptsBlankFPA(tmpFPA);
    396394
    397395    // this may be somewhat pedantic, but it makes these things consistent
  • trunk/psModules/src/camera/pmFPACopy.c

    r23319 r23740  
    399399    if (targetHDU) {
    400400        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) {
    404402            targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header);
    405403        }
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r21470 r23740  
    13851385    }
    13861386
     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
    13871402    psLogMsg("psModules.imcombine", PS_LOG_INFO, "Convolve image: %f sec",
    13881403             psTimerClear("pmSubtractionConvolve"));
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r23688 r23740  
    567567            psFree(kernels);
    568568            kernels = NULL;
    569 
    570             // There is data in the readout now
    571             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             }
    585569        }
    586570    }
Note: See TracChangeset for help on using the changeset viewer.