Changeset 7278 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Jun 1, 2006, 2:55:23 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7274 r7278 27 27 ) 28 28 { 29 assert(readout); 30 assert(image); 31 assert(trimsec); 32 assert(biassecs); 33 29 34 // The image corresponding to the trim region 30 35 if (psRegionIsBad(*trimsec)) { … … 85 90 ) 86 91 { 92 assert(fits); 93 assert(region); 94 87 95 bool resize = false; // Do we need to resize the image once read? 88 96 psRegion toRead = psRegionSet(region->x0, region->x1, region->y0, region->y1); // Region to read … … 158 166 ) 159 167 { 168 PS_ASSERT_PTR_NON_NULL(readout, false); 169 PS_ASSERT_PTR_NON_NULL(fits, false); 170 PS_ASSERT_INT_NONNEGATIVE(z, false); 171 PS_ASSERT_INT_NONNEGATIVE(numScans, false); 172 160 173 // Get the HDU and read the header 161 174 pmCell *cell = readout->parent; // The parent cell … … 298 311 ) 299 312 { 313 PS_ASSERT_PTR_NON_NULL(cell, false); 314 PS_ASSERT_PTR_NON_NULL(fits, false); 315 300 316 pmHDU *hdu = pmHDUFromCell(cell); // The HDU 301 317 if (!hdu) { … … 345 361 ) 346 362 { 363 PS_ASSERT_PTR_NON_NULL(chip, false); 364 PS_ASSERT_PTR_NON_NULL(fits, false); 365 347 366 bool success = false; // Were we able to read at least one HDU? 348 367 psArray *cells = chip->cells; // Array of cells … … 366 385 ) 367 386 { 387 PS_ASSERT_PTR_NON_NULL(fpa, false); 388 PS_ASSERT_PTR_NON_NULL(fits, false); 389 368 390 bool success = false; // Were we able to read at least one HDU? 369 391 psArray *chips = fpa->chips; // Array of chips
Note:
See TracChangeset
for help on using the changeset viewer.
