IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2012, 8:39:35 AM (14 years ago)
Author:
bills
Message:

Since we aren't using the ChiSquare readout, don't make it for now.

File:
1 edited

Legend:

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

    r34317 r34336  
    121121    }
    122122
     123#ifdef MAKE_CHISQ_IMAGE
    123124    // also make the chisq detection image
    124125    if (!psphotStackChisqImage(config, view, STACK_DET, STACK_SRC)) {
     
    126127        return psphotReadoutCleanup (config, view, STACK_SRC);
    127128    }
     129#endif
    128130    if (!strcasecmp (breakPt, "CHISQ")) {
    129131        return psphotReadoutCleanup (config, view, STACK_SRC);
     
    204206    // window of size PSF_MOMENTS_RADIUS (same window used to measure the psf-scale moments)
    205207    // but iterates to an appropriately larger size
    206     logMemStats("before.kron.1");
     208        logMemStats("before.kron.1");
    207209    psphotKronIterate(config, view, STACK_SRC, 1);
    208     logMemStats("after.kron.1");
     210        logMemStats("after.kron.1");
    209211
    210212    // identify CRs and extended sources
     
    375377
    376378        // NOTE: we always do the radial apertures analysis on the convolved image since
    377         // those are the ones that are psf matched and the source of STACK_OUT's pixels
     379        // those are the ones that are psf matched and are the source of STACK_OUT's pixels
    378380        // XXX: Actually if PSPHOT.STACK.MATCH.PSF.SOURCE were set to RAW this wouldn't be true.
    379381        // but in that case we don't get past the psf matching step because there is no
     
    460462    psphotSourceFreePixels (config, view, STACK_SRC);
    461463
     464#ifdef MAKE_CHISQ_IMAGE
    462465    // remove chisq image from config->file:PSPHOT.INPUT
    463466    psphotStackRemoveChisqFromInputs(config, STACK_DET);
     
    465468        psphotStackRemoveChisqFromInputs(config, STACK_SRC);
    466469    }
     470#endif
    467471
    468472    psFree (objects);
     
    498502// This will only work on a system that has /proc (not MacOS for instance) but since this function just
    499503// tries to open and read from a file it is safe
     504// XXX: refine this and move it to psLib
    500505static void logMemStats(const char *heading) {
    501506
     
    519524    }
    520525 
    521     // assuming 4 KB page size here
     526    // XXX: assuming 4 KB page size here
    522527#   define PAGES_TO_MB(_v) (_v * 4.096 / 1024.)
    523528    psLogMsg ("psphot", PS_LOG_INFO, "Memory usage at %20s: Total VmSize: %8.2f MB   Resident %8.2f MB   Data: %8.2f MB\n",
Note: See TracChangeset for help on using the changeset viewer.