IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2010, 3:09:59 PM (16 years ago)
Author:
watersc1
Message:

JPEG work should be done. Transitioning to try to pick up stackAssociation concept in this branch as well.

Location:
branches/czw_branch/20100519
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100519

  • branches/czw_branch/20100519/ippToPsps/src/ippToPspsBatchDetection.c

    r28025 r28164  
    124124    float instMagErr[MAXDETECT];
    125125    float peakMag[MAXDETECT];
     126    uint64_t flags[MAXDETECT];
    126127    long objID[MAXDETECT];
    127128    long detectID[MAXDETECT];
     
    284285                    ippObjID[s] = (uint64_t)dvoDetections[d].ave.catID*1000000000 + (uint64_t)dvoDetections[d].ave.objID;
    285286                    ippDetectID[s] = dvoDetections[d].meas.detID;
     287                   
     288                    // the 'photFlags' are the same as those in the 'FLAGS' column of the smf
     289                    flags[s] = ((uint64_t)dvoDetections[d].meas.dbFlags << 32) | (uint64_t)dvoDetections[d].meas.photFlags;
    286290                    imageID[s] = pspsImageId;
    287291                    obsTimes[s] = obsTime;
     
    330334            fits_write_col(this->fitsOut, TFLOAT, DETECTION_PEAKADU, 1, 1, nDet, peakFlux, &status);
    331335            fits_write_col(this->fitsOut, TSTRING, DETECTION_ASSOCDATE, 1, 1, nDet, assocDate, &status);
     336            fits_write_col(this->fitsOut, TLONGLONG, DETECTION_INFOFLAG, 1, 1, nDet, flags, &status);
    332337            if (numOfDuplicates||numInvalidFlux) fits_delete_rowlist(this->fitsOut, removeList, numOfDuplicates+numInvalidFlux, &status);
    333338
Note: See TracChangeset for help on using the changeset viewer.