IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2010, 9:17:17 AM (16 years ago)
Author:
eugene
Message:

build works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psphot.stack.20100120/src/psphotSourceSize.c

    r26688 r26691  
    3838    psAssert (recipe, "missing recipe?");
    3939
    40     int num = psMetadataAddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
     40    int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
    4141    psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
    4242
     
    6161    // find the currently selected readout
    6262    pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest
    63     psAssert (readout, "missing file?");
     63    psAssert (file, "missing file?");
    6464
    6565    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
     
    131131    psphotSourceSizeCR (readout, sources, &options);
    132132
    133     psLogMsg ("psphot.size", PS_LOG_INFO, "measure source sizes for %ld sources: %f sec\n", sources->n - first, psTimerMark ("psphot.size"));
     133    // XXX fix this (was source->n  - first)
     134    psLogMsg ("psphot.size", PS_LOG_INFO, "measure source sizes for %ld sources: %f sec\n", sources->n, psTimerMark ("psphot.size"));
    134135
    135136    psphotVisualPlotSourceSize (recipe, readout->analysis, sources);
     
    633634/**** ------ old versions of cosmic ray masking ----- ****/
    634635
     636bool psphotMaskCosmicRayIsophot (pmSource *source, psImageMaskType maskVal, psImageMaskType crMask);
     637
    635638// This attempt to mask the cosmic rays used the isophotal boundary
    636639bool psphotMaskCosmicRay_V1 (psImage *mask, pmSource *source, psImageMaskType maskVal, psImageMaskType crMask) {
Note: See TracChangeset for help on using the changeset viewer.