Changeset 16601
- Timestamp:
- Feb 22, 2008, 9:19:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080207/ppStack/src/ppStackLoop.c
r16408 r16601 209 209 int num = psMetadataLookupS32(NULL, config->arguments, "INPUTS.NUM"); // Number of inputs 210 210 int numScans = psMetadataLookupS32(NULL, config->arguments, "ROWS"); // Number of scans to read at once 211 212 213 214 // XXX Will need to adjust this when we're doing the convolution 215 int overlap = 0; // Overlap between consecutive scans 216 217 218 211 psMetadata *ppsub = psMetadataLookupMetadata(NULL, config->recipes, "PPSUB"); // PPSUB recipe 212 int overlap = 2 * psMetadataLookupS32(NULL, ppsub, "KERNEL.SIZE"); // Overlap by kernel size between consecutive scans 219 213 220 214 // Preparation iteration: Load the sources, and get a target PSF model … … 424 418 pmReadout *readout = readouts->data[i]; 425 419 assert(readout); 426 more &= pmReadoutMore(readout, imageFits->data[i], 0, numScans , overlap);427 more &= pmReadoutMoreMask(readout, maskFits->data[i], 0, numScans , overlap);428 more &= pmReadoutMoreWeight(readout, weightFits->data[i], 0, numScans , overlap);420 more &= pmReadoutMore(readout, imageFits->data[i], 0, numScans); 421 more &= pmReadoutMoreMask(readout, maskFits->data[i], 0, numScans); 422 more &= pmReadoutMoreWeight(readout, weightFits->data[i], 0, numScans); 429 423 } 430 424 }
Note:
See TracChangeset
for help on using the changeset viewer.
