Changeset 9986
- Timestamp:
- Nov 14, 2006, 3:11:21 PM (20 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 2 edited
-
camera/pmHDUGenerate.c (modified) (2 diffs)
-
detrend/pmMaskBadPixels.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUGenerate.c
r9983 r9986 303 303 int numReadouts = -1; // Number of readouts 304 304 psElemType imageType = 0; // Type of readout images 305 psElemType maskType = 0; // Type of readout masks305 psElemType maskType = 0; // Type of readout masks 306 306 psElemType weightType = 0; // Type of readout weights 307 307 { … … 324 324 } 325 325 326 if ( readout->image) {326 if (!hdu->images && readout->image) { 327 327 imageType = checkTypes(imageType, readout->image->type.type); 328 328 } 329 if ( readout->mask) {329 if (!hdu->masks && readout->mask) { 330 330 maskType = checkTypes(maskType, readout->mask->type.type); 331 331 } 332 if ( readout->weight) {332 if (!hdu->weights && readout->weight) { 333 333 weightType = checkTypes(weightType, readout->weight->type.type); 334 334 } -
trunk/psModules/src/detrend/pmMaskBadPixels.c
r9981 r9986 148 148 float mean = stats->sampleMean; // Mean value 149 149 float stdev = stats->sampleStdev; // Standard deviation 150 psFree(stats); 150 151 151 152 psImage *badpix = psImageAlloc(suspects->numCols, suspects->numRows, PS_TYPE_MASK); // Bad pixel mask
Note:
See TracChangeset
for help on using the changeset viewer.
