Changeset 17630 for branches/eam_branch_20080511/ppSim/src/ppSimLoop.c
- Timestamp:
- May 11, 2008, 10:10:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimLoop.c
r15482 r17630 5 5 PS_ASSERT_PTR_NON_NULL(config, PS_EXIT_PROG_ERROR); 6 6 7 // in this program, we are looping over the output image, rather than the input as in ppImage 7 8 pmFPAfile *file = psMetadataLookupPtr(NULL, config->files, OUTPUT_FILE); // Output file 8 9 assert(file); … … 15 16 16 17 int binning = psMetadataLookupS32(NULL, config->arguments, "BINNING"); // Binning in x and y 18 19 // Load forced-photometry positions 20 if (type == PPSIM_TYPE_OBJECT) { 21 psArray *spots = ppSimLoadSpots (fpa, config); 22 } 17 23 18 24 // Load catalogue stars … … 170 176 } 171 177 178 ppSimMosaicChip(config, blankMask, view, "PPSIM.CHIP", "PPSIM.OUTPUT"); 179 180 // we perform photometry on the readouts of this chip in the output 181 ppSimPhotom (config, view); 182 172 183 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 173 184 psError(PS_ERR_IO, false, "Unable to write file.");
Note:
See TracChangeset
for help on using the changeset viewer.
