Changeset 17901 for branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
- Timestamp:
- Jun 4, 2008, 1:52:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c
r17849 r17901 25 25 } 26 26 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? only if we want to write out the image with and without subtracted sources 29 pmChip *oldChip = pmFPAviewThisChip (view, input->src); 30 pmChip *newChip = pmFPAviewThisChip (view, input->fpa); 31 pmChipCopy (newChip, oldChip); 27 // XXX If we want to be able to write out both the positive and residual images, we will 28 // need to define an additional pmFPAfile container, and then make a copy as is done for 29 // PPIMAGE.CHIP -> PSPHOT.INPUT in ppImage. At the moment, PPSIM.CHIP will write out the 30 // mosaicked image with the sources subtracted. 31 32 // XXX if input -> PSPHOT.INPUT, which is tied to PPSIM.CHIP with pmFPAfileDefineFromFile, 33 // then the following code creates the chip copy: 34 // pmChip *oldChip = pmFPAviewThisChip (view, input->src); 35 // pmChip *newChip = pmFPAviewThisChip (view, input->fpa); 36 // pmChipCopy (newChip, oldChip); 32 37 33 38 // iterate over the cells and readout for this chip
Note:
See TracChangeset
for help on using the changeset viewer.
