Changeset 7278 for trunk/psModules/src/camera/pmChipMosaic.c
- Timestamp:
- Jun 1, 2006, 2:55:23 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmChipMosaic.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmChipMosaic.c
r7017 r7278 41 41 ) 42 42 { 43 assert(bounds); 44 assert(chip); 45 43 46 if (primary) { 44 47 *bounds = psRegionSet(INFINITY, 0, INFINITY, 0); … … 104 107 ) 105 108 { 109 assert(xBinChip); 110 assert(yBinChip); 111 assert(chip); 112 106 113 // Check that we've got the HDU in the chip or the FPA 107 114 if ((!chip->hdu || !chip->hdu->images) && (!chip->parent->hdu || !chip->parent->hdu->images)) { … … 358 365 ) 359 366 { 367 assert(target); 368 assert(sources); 369 assert(xBin > 0 && yBin > 0); 370 assert(trimsec); 371 360 372 bool success = true; // Result of setting everything 361 373 float gain = 0.0; // Gain … … 433 445 } 434 446 435 436 447 return success; 437 448 } … … 446 457 ) 447 458 { 459 assert(mosaicImage); 460 assert(mosaicMask); 461 assert(mosaicWeights); 462 assert(chip); 463 448 464 psArray *cells = chip->cells; // The array of cells 449 465 int numCells = cells->n; // Number of cells … … 587 603 ) 588 604 { 605 PS_ASSERT_PTR_NON_NULL(chip, false); 606 589 607 psImage *mosaicImage = NULL; // The mosaic image 590 608 psImage *mosaicMask = NULL; // The mosaic mask
Note:
See TracChangeset
for help on using the changeset viewer.
