Changeset 16257
- Timestamp:
- Jan 27, 2008, 3:25:21 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileIO.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileIO.c
r16186 r16257 390 390 } 391 391 392 // check if the file is a FITS file (or uses the fits header) 393 bool fitsType = false; 394 fitsType |= (file->type == PM_FPA_FILE_IMAGE); 395 fitsType |= (file->type == PM_FPA_FILE_MASK); 396 fitsType |= (file->type == PM_FPA_FILE_WEIGHT); 397 fitsType |= (file->type == PM_FPA_FILE_HEADER); 398 fitsType |= (file->type == PM_FPA_FILE_FRINGE); 399 fitsType |= (file->type == PM_FPA_FILE_CMP); 400 fitsType |= (file->type == PM_FPA_FILE_CMF); 401 fitsType |= (file->type == PM_FPA_FILE_PSF); 402 fitsType |= (file->type == PM_FPA_FILE_ASTROM); 392 403 393 404 // Ensure headers and all are updated 394 405 // This is here so that the individual write functions (e.g., images, PSFs, sources, etc) don't have to 395 406 // take care of all this themselves (because they generally don't). 396 {407 if (fitsType) { 397 408 pmHDU *hdu = pmFPAviewThisHDU(view, file->fpa); 398 409 if (hdu) {
Note:
See TracChangeset
for help on using the changeset viewer.
