- Timestamp:
- Jan 27, 2010, 9:17:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.stack.20100120/src/psphotSourceSize.c
r26688 r26691 38 38 psAssert (recipe, "missing recipe?"); 39 39 40 int num = psMetadata AddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");40 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 41 41 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 42 42 … … 61 61 // find the currently selected readout 62 62 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest 63 psAssert ( readout, "missing file?");63 psAssert (file, "missing file?"); 64 64 65 65 pmReadout *readout = pmFPAviewThisReadout(view, file->fpa); … … 131 131 psphotSourceSizeCR (readout, sources, &options); 132 132 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")); 134 135 135 136 psphotVisualPlotSourceSize (recipe, readout->analysis, sources); … … 633 634 /**** ------ old versions of cosmic ray masking ----- ****/ 634 635 636 bool psphotMaskCosmicRayIsophot (pmSource *source, psImageMaskType maskVal, psImageMaskType crMask); 637 635 638 // This attempt to mask the cosmic rays used the isophotal boundary 636 639 bool psphotMaskCosmicRay_V1 (psImage *mask, pmSource *source, psImageMaskType maskVal, psImageMaskType crMask) {
Note:
See TracChangeset
for help on using the changeset viewer.
