Changeset 17958 for branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
- Timestamp:
- Jun 5, 2008, 5:16:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
r17901 r17958 16 16 17 17 int blankMask = 0; // XXX not sure what this should be set to... 18 ppSimMosaicChip(config, blankMask, view, "PPSIM.CHIP", "PPSIM.OUTPUT"); 18 ppSimMosaicChip(config, blankMask, view, "PPSIM.FORCE.CHIP", "PPSIM.INPUT"); 19 ppSimMosaicChip(config, blankMask, view, "PPSIM.FAKE.CHIP", "PPSIM.OUTPUT"); 19 20 20 // XXX have ppSimMosaicChip return the pointer?21 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PPSIM. CHIP");21 // use PPSIM.FAKE.CHIP as the base since it is guaranteed to exist (derived from PPSIM.OUTPUT) 22 pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PPSIM.FAKE.CHIP"); 22 23 if (!status) { 23 psError(PSPHOT_ERR_CONFIG, false, "PPSIM. CHIP I/O file is not defined");24 psError(PSPHOT_ERR_CONFIG, false, "PPSIM.FAKE.CHIP I/O file is not defined"); 24 25 return false; 25 26 } … … 46 47 47 48 // run the actual photometry analysis 48 if (!ppSimPhotomReadout (config, view)) { 49 if (!ppSimPhotomReadoutFake (config, view)) { 50 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout); 51 return false; 52 } 53 if (!ppSimPhotomReadoutForce (config, view)) { 49 54 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout); 50 55 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
