IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36914 for trunk/psastro/src


Ignore:
Timestamp:
Jun 19, 2014, 3:22:46 PM (12 years ago)
Author:
bills
Message:

have psastro output a mask for each chip ASTROM_CHIPS. It has
the value 1 << chip_num if sucessfull otherwise zero
ppStatsFromMetadata ors them all together and then
add to camProcessedExp.
If all 60 gpc1 chips get an astronomical fit the value is 1152921504606846975

Location:
trunk/psastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChipAstrom.c

    r35419 r36914  
    143143                numGoodRO++;
    144144
     145                psU64 astrom_chip_val = 1;
     146                astrom_chip_val <<= view->chip;
     147                psMetadataAddU64 (updates, PS_LIST_TAIL, "ASTROM_CHIPS", PS_META_REPLACE,
     148                    "chips that passed astrometry", astrom_chip_val);
     149
    145150                // write the elapsed time here; this will be updated in psastroMosaicAstrometry, if called
    146151                psMetadataAddF32 (updates, PS_LIST_TAIL, "DT_ASTR", PS_META_REPLACE, "elapsed psastro time", psTimerMark ("psastroAnalysis"));
  • trunk/psastro/src/psastroOneChipFit.c

    r36837 r36914  
    228228    psMetadataAddF32 (updates, PS_LIST_TAIL, "CPRECISE", PS_META_REPLACE, "astrometry precision (arcsec)", 0.0);
    229229    psMetadataAddS32 (updates, PS_LIST_TAIL, "NASTRO",   PS_META_REPLACE, "number of astrometry stars", 0);
     230    psMetadataAddU64 (updates, PS_LIST_TAIL, "ASTROM_CHIPS", PS_META_REPLACE, "chips that passed astrometry", 0);
    230231    return true;
    231232}
Note: See TracChangeset for help on using the changeset viewer.