Changeset 21363 for trunk/psModules/src/camera/pmFPA.c
- Timestamp:
- Feb 5, 2009, 4:31:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPA.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPA.c
r19013 r21363 32 32 psFree(readout->image); 33 33 psFree(readout->mask); 34 psFree(readout->weight); 34 psFree(readout->variance); 35 psFree(readout->covariance); 35 36 psFree(readout->analysis); 36 37 psFree(readout->bias); … … 163 164 psFree(readout->image); 164 165 psFree(readout->mask); 165 psFree(readout->weight); 166 psFree(readout->variance); 167 psFree(readout->covariance); 166 168 psFree(readout->bias); 167 169 … … 169 171 170 172 readout->image = NULL; 171 readout->weight = NULL; 173 readout->variance = NULL; 174 readout->covariance = NULL; 172 175 readout->mask = NULL; 173 176 … … 179 182 readout->thisImageScan = 0; 180 183 readout->thisMaskScan = 0; 181 readout->this WeightScan = 0;184 readout->thisVarianceScan = 0; 182 185 183 186 readout->lastImageScan = 0; 184 187 readout->lastMaskScan = 0; 185 readout->last WeightScan = 0;188 readout->lastVarianceScan = 0; 186 189 } 187 190 … … 197 200 if (cell->hdu) { 198 201 psFree(cell->hdu->images); 199 psFree(cell->hdu-> weights);202 psFree(cell->hdu->variances); 200 203 psFree(cell->hdu->masks); 201 204 // psFree(cell->hdu->header); 202 205 203 206 cell->hdu->images = NULL; 204 cell->hdu-> weights = NULL;207 cell->hdu->variances = NULL; 205 208 cell->hdu->masks = NULL; 206 209 // cell->hdu->header = NULL; … … 219 222 if (chip->hdu) { 220 223 psFree(chip->hdu->images); 221 psFree(chip->hdu-> weights);224 psFree(chip->hdu->variances); 222 225 psFree(chip->hdu->masks); 223 226 // psFree(chip->hdu->header); 224 227 225 228 chip->hdu->images = NULL; 226 chip->hdu-> weights = NULL;229 chip->hdu->variances = NULL; 227 230 chip->hdu->masks = NULL; 228 231 // chip->hdu->header = NULL; … … 241 244 if (fpa->hdu) { 242 245 psFree(fpa->hdu->images); 243 psFree(fpa->hdu-> weights);246 psFree(fpa->hdu->variances); 244 247 psFree(fpa->hdu->masks); 245 248 // psFree(fpa->hdu->header); 246 249 247 250 fpa->hdu->images = NULL; 248 fpa->hdu-> weights = NULL;251 fpa->hdu->variances = NULL; 249 252 fpa->hdu->masks = NULL; 250 253 // fpa->hdu->header = NULL; … … 259 262 tmpReadout->image = NULL; 260 263 tmpReadout->mask = NULL; 261 tmpReadout->weight = NULL; 264 tmpReadout->variance = NULL; 265 tmpReadout->covariance = NULL; 262 266 tmpReadout->bias = psListAlloc(NULL); 263 267 tmpReadout->analysis = psMetadataAlloc(); … … 276 280 tmpReadout->thisImageScan = 0; 277 281 tmpReadout->thisMaskScan = 0; 278 tmpReadout->this WeightScan = 0;282 tmpReadout->thisVarianceScan = 0; 279 283 280 284 tmpReadout->lastImageScan = 0; 281 285 tmpReadout->lastMaskScan = 0; 282 tmpReadout->last WeightScan = 0;286 tmpReadout->lastVarianceScan = 0; 283 287 284 288 tmpReadout->forceScan = false;
Note:
See TracChangeset
for help on using the changeset viewer.
