IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24274 for trunk/psphot


Ignore:
Timestamp:
May 28, 2009, 2:17:52 PM (17 years ago)
Author:
Paul Price
Message:

When running under 'minimal' mode, want to find sources with the second (lower) threshold.

Location:
trunk/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotFindFootprints.c

    r21366 r24274  
    5959
    6060        psArray *mergedFootprints = pmFootprintArraysMerge(detections->footprints, footprints, includePeaks);
    61         psLogMsg ("psphot", PS_LOG_MINUTIA, "merged %ld new footprints with %ld existing ones: %f sec\n", footprints->n, detections->footprints->n, psTimerMark ("psphot.footprints"));
     61        psLogMsg ("psphot", PS_LOG_MINUTIA, "merged %ld new footprints with %ld existing ones: %f sec\n", footprints->n, (detections->footprints ? detections->footprints->n : 0), psTimerMark ("psphot.footprints"));
    6262
    6363        psFree(footprints);
  • trunk/psphot/src/psphotReadoutMinimal.c

    r23442 r24274  
    4646
    4747    // find the detections (by peak and/or footprint) in the image.
    48     pmDetections *detections = psphotFindDetections (NULL, readout, recipe);
     48    pmDetections *detections = pmDetectionsAlloc(); // New detections; allocated to ensure pass=2
     49    detections = psphotFindDetections(detections, readout, recipe);
    4950    if (!detections) {
    5051        psLogMsg ("psphot", 3, "unable to find detections in this image");
Note: See TracChangeset for help on using the changeset viewer.