You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Here I collect the results of the testing I am performing, comparing the output generated by the old ft2Util code (written by Andrea Tramacere) with the output generated by my code (ft2Util_2).

Fake FT2

Testing procedure

I collected a bunch of Magic 7 files spanning ~55 days of in-orbit operation. These M7 files are the one produced by L1, in their latest versions. Thus, they should be complete (without gaps). This is, in other words, the "ideal" situation.

Then I run the executables to produce the fake FT2 files (i.e., without LIVETIME), and I compared the results. Specifically, for every quantity q (like LAT_GEO, LON_GEO, RA_SCX, DEC_SCX...) I computed (qold-qnew)/qold , that is, the "fractional difference". These are the two command lines I used:

  • Old version: 
    makeFT2Entries.exe -M7File $magic7 \
                        -FT2_fits_File ${filenameroot}_andrea.fits \
                        --Gleam --test-quaternion \
                        -DigiTstart $start -DigiTstop $stop \
                        -new_tpl /afs/slac.stanford.edu/g/glast/ground/releases/volume02/ScienceToolsv9r18p5/fitsGen/v6r1p1/data/ft2.tpl 
  • New version: 
    makeFT2.exe -m7file $magic7 \
                -ft2file ${filenameroot}_io.fits \
                -ft2start $start \
                -ft2stop $stop

The following plots show the results (mind the scale on the y axis, usually the differences are very small!):

As you can see, there are differences, but they are very small. 

  • No labels