Changeset 16502 for trunk/FACT++
- Timestamp:
- 05/30/13 15:59:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsCompressor.cc
r16485 r16502 736 736 header.push_back(HeaderEntry("CHECKSUM", "'0000000000000000' ", "Checksum for the whole HDU")); 737 737 header.push_back(HeaderEntry("DATASUM" , " 0" , "Checksum for the data block")); 738 header.push_back(HeaderEntry("EXTNAME" , "'ZDrsCellOffsets' ", "name of this binary table extension"));738 header.push_back(HeaderEntry("EXTNAME" , "'ZDrsCellOffsets' ", "name of this binary table extension")); 739 739 header.push_back(HeaderEntry("TTYPE1" , "'OffsetCalibration' ", "label for field 1")); 740 740 header.push_back(HeaderEntry("TFORM1" , "'1474560I' ", "data format of field: 2-byte INTEGER")); … … 1738 1738 { 1739 1739 const int thisStartCell = reinterpret_cast<int16_t*>(&buffer[startCellOffset])[j]; 1740 if (thisStartCell > -1)1740 if (thisStartCell < 0) continue; 1741 1741 for (int k=0;k<numSlices;k++) 1742 1742 reinterpret_cast<int16_t*>(&buffer[dataOffset])[numSlices*j + k] -= drsCalib16[1024*j + (thisStartCell+k)%1024]; … … 1858 1858 if (tableName == "") 1859 1859 { 1860 cout << "Error: table name could not be found. Aborting" << endl;1860 cout << "Error: table name from file " << fileNameOut << " could not be found. Aborting" << endl; 1861 1861 return -1; 1862 1862 }
Note:
See TracChangeset
for help on using the changeset viewer.