Changeset 17818 for branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
- Timestamp:
- May 27, 2008, 7:12:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
r17708 r17818 18 18 ppSimMosaicChip(config, blankMask, view, "PPSIM.CHIP", "PPSIM.OUTPUT"); 19 19 20 // find or define a pmFPAfile PSPHOT.INPUT21 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "P SPHOT.INPUT");20 // XXX have ppSimMosaicChip return the pointer? 21 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PPSIM.CHIP"); 22 22 if (!status) { 23 psError(PSPHOT_ERR_CONFIG, false, "P SPHOT.INPUTI/O file is not defined");23 psError(PSPHOT_ERR_CONFIG, false, "PPSIM.CHIP I/O file is not defined"); 24 24 return false; 25 25 } 26 26 27 27 // we make a new copy of the output chip to keep psphot from modifying the output image 28 // XXX is this needed for ppSim? (yes, unless we do not do photometry and make a simulated image)28 // XXX is this needed for ppSim? only if we want to write out the image with and without subtracted sources 29 29 pmChip *oldChip = pmFPAviewThisChip (view, input->src); 30 30 pmChip *newChip = pmFPAviewThisChip (view, input->fpa); … … 45 45 return false; 46 46 } 47 48 47 ppSimDetectionLimits (config, view); 49 48 }
Note:
See TracChangeset
for help on using the changeset viewer.
