Changeset 12599
- Timestamp:
- Mar 27, 2007, 9:03:42 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotImageLoop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotImageLoop.c
r12592 r12599 43 43 return false; 44 44 } 45 pmFPAfileActivate (config->files, true, NULL); 46 45 47 46 // mosaic the cells of a chip into a single contiguous chip. 48 47 // this probably needs to return a new fpa? … … 52 51 } 53 52 54 // try to load the data 53 // try to load other supporting data (PSF, SRC, etc). 54 // do not re-load the following three files 55 pmFPAfileActivate (config->files, true, NULL); 56 pmFPAfileActivate (config->files, false, "PSPHOT.LOAD"); 57 pmFPAfileActivate (config->files, false, "PSPHOT.MASK"); 58 pmFPAfileActivate (config->files, false, "PSPHOT.WEIGHT"); 55 59 if (!pmFPAfileIOChecks (config, view, PM_FPA_BEFORE)) { 56 60 psError(PSPHOT_ERR_DATA, false, "failed IO for chip %d in psphot\n", view->chip); … … 60 64 61 65 // there is now only a single chip (multiple readouts?). loop over it and process 62 // XXX activate / de-activate files? no I/O here?63 66 while ((cell = pmFPAviewNextCell (view, input->fpa, 1)) != NULL) { 64 67 psLogMsg ("psphot", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process); 65 // XXX who should be setting cell->process? 66 // if (! cell->process || ! cell->file_exists) { continue; } 67 // if (! cell->process) { continue; } 68 68 69 69 // process each of the readouts 70 70 while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) { … … 72 72 if (! readout->data_exists) { continue; } 73 73 74 // run the actual photometry analysis 75 // XXX calling psphotReadout here will operate on the mosaic'ed chips (for each readout) 74 // run the actual photometry analysis on this chip/cell/readout 76 75 if (!psphotReadout (config, view)) { 77 76 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout);
Note:
See TracChangeset
for help on using the changeset viewer.
