Changeset 23594 for branches/cnb_branches/cnb_branch_20090301/psModules/src/imcombine/pmSubtractionIO.c
- Timestamp:
- Mar 29, 2009, 6:15:31 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
-
branches/cnb_branches/cnb_branch_20090301/psModules
- Property svn:mergeinfo changed
/trunk/psModules merged: 23354,23358,23370,23374,23378,23404-23405,23428,23432,23447,23450-23452,23476,23487,23498,23535,23574,23576-23577,23587
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psModules/src/imcombine/pmSubtractionIO.c
r23351 r23594 4 4 5 5 #include "pmHDU.h" 6 #include "pmHDUUtils.h" 6 7 #include "pmFPA.h" 7 8 #include "pmFPAview.h" … … 143 144 psMetadata *header = psMetadataAlloc(); // Header for FITS file 144 145 146 pmCell *cell = ro->parent; // Cell of interest 147 if (cell) { 148 pmChip *chip = cell->parent; // Chip of interest 149 pmFPA *fpa = chip->parent; // FPA of interest 150 pmHDU *hdu = pmHDUGetHighest(fpa, chip, cell); // HDU for readout 151 if (hdu) { 152 header = psMetadataCopy(header, hdu->header); 153 } 154 } 155 145 156 // CVS tags, used to identify the version of this file (in case incompatibilities are introduced) 146 157 psString cvsFile = psStringCopy("$RCSfile: pmSubtractionIO.c,v $"); … … 533 544 return true; 534 545 } 535 if (file->fileLevel != PM_FPA_LEVEL_FPA) {536 return true;537 }538 if (file->fpa->chips->n == 1) {539 return true;540 }541 546 542 547 // find the FPA phu
Note:
See TracChangeset
for help on using the changeset viewer.
