IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39441


Ignore:
Timestamp:
Mar 8, 2016, 11:26:25 AM (10 years ago)
Author:
eugene
Message:

use FIT_AVERAGE for image loops, but set to user-desired value for object updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/relastro/src/relastro_images.c

    r39439 r39441  
    1212  set_db (&db);
    1313  gfits_db_init (&db);
     14
     15  // final pass fit mode (use FIT_AVERAGE only for the image loop)
     16  int finalPassMode = FIT_MODE; // start with the globally-defined fit mode
     17  FIT_MODE = FIT_AVERAGE;
    1418
    1519  /* lock and load the image db table */
     
    142146
    143147  // if we do NOT have parallel partitions, we must NOT write them out yet: the act of
    144   // writing out the files byte-swaps the data and makes the values invalide for the
     148  // writing out the files byte-swaps the data and makes the values invalid for the
    145149  // following calls to UpdateObjectOffsets (which attempt to apply the image values from
    146150  // the structure in memory)
     151
     152  FIT_MODE = finalPassMode; // use the user-selected mode for the final pass
    147153
    148154  // iterate over catalogs to make detection coordinates consistant
Note: See TracChangeset for help on using the changeset viewer.