IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29516


Ignore:
Timestamp:
Oct 21, 2010, 2:46:10 PM (16 years ago)
Author:
eugene
Message:

merge from trunk

Location:
branches/eam_branches/ipp-20100823
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/ppSim

    • Property svn:mergeinfo deleted
  • branches/eam_branches/ipp-20100823/ppStack/src/ppStackConvolve.c

    r28565 r29516  
    295295        UPDATE_CONCEPT(unconvCell, "CELL.DARKTIME", NAN);
    296296        UPDATE_CONCEPT(unconvFPA,  "FPA.ZP",        options->zp);
     297
     298        if (options->stats) {
     299            psTime *fpaTime = psMetadataLookupPtr(NULL, outFPA->concepts, "FPA.TIME");
     300            psTimeConvert(fpaTime, PS_TIME_TAI); // is this necessary??
     301            double time = psTimeToMJD(fpaTime);
     302            psMetadataAddF64(options->stats, PS_LIST_TAIL, "MJD_OBS", PS_META_DUPLICATE_OK,
     303                                 "Average MJD_OBS of inputs", time);
     304
     305        }
    297306    }
    298307
Note: See TracChangeset for help on using the changeset viewer.