Changeset 18035 for trunk/Mars/mcore


Ignore:
Timestamp:
12/12/14 13:00:03 (10 years ago)
Author:
lyard
Message:
Fixed bug related to drs-calibration table
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/factofits.h

    r17304 r18035  
    224224            c.SetStr(  "RAWSUM",   "         0",    "Checksum of raw little endian data");
    225225            c.SetFloat("ZRATIO",   0,               "Compression ratio");
     226
    226227            c.SetInt(  "ZSHRINK",  1,               "Catalog shrink factor");
    227228            c.End();
     
    280281            //update relevant keywords
    281282            c.SetFloat("ZRATIO", (float)(1024*1440*2)/(float)(compressed_size));
    282             c.SetInt("PCOUNT", compressed_size + catalog_size);
     283            c.SetInt("PCOUNT", compressed_size);// + catalog_size);
     284
     285
     286//cout << "DEBUG: compressed_size=" << compressed_size << " " << compressed_size%2880 << " " << catalog_size << endl;
     287
    283288
    284289#if GCC_VERSION < 40603
     
    302307            return good();
    303308        }
     309
    304310        ///Apply the drs offset calibration (overload of super-method)
    305311        virtual void DrsOffsetCalibrate(char* target_location)
Note: See TracChangeset for help on using the changeset viewer.