- Timestamp:
- Jan 26, 2010, 5:10:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.stack.20100120/src/psphotAddNoise.c
r26681 r26688 31 31 } 32 32 33 bool psphotAddOrSubNoise (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe, bool add) {33 bool psphotAddOrSubNoiseReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe, bool add) { 34 34 35 35 bool status = false; … … 40 40 // find the currently selected readout 41 41 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest 42 psAssert ( readout, "missing file?");42 psAssert (file, "missing file?"); 43 43 44 44 pmReadout *readout = pmFPAviewThisReadout(view, file->fpa); … … 47 47 psAssert (readout->parent->concepts, "missing concepts?"); 48 48 49 psArray *sources = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.SOURCES"); 49 pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS"); 50 psAssert (detections, "missing detections?"); 51 52 psArray *sources = detections->allSources; 50 53 psAssert (sources, "missing sources?"); 51 54
Note:
See TracChangeset
for help on using the changeset viewer.
