...
This program merge bins from 1s FT2 file producing a 30s FT2 file, or a FT2 file with the specified binning. Note that some bins in the output file could have a different duration than the target binning, since the program will prematurely cut bins for example if LAT_MODE or LAT_CONFIG change value, or if it encounters bins with livetime=0 in the input FT2 file. In any case the program will never produce bins with a duration greater than the target binning.
How to use
Code Block |
---|
mergeFT2.exe
mergeFT2.exe : Merge bins from 1s FT2 file producing a 30s FT2 file, or a FT2 file with the specified binning.
(See http://fermi.gsfc.nasa.gov/ssc/data/analysis/documentation/Cicerone/Cicerone_Data/LAT_Data_Columns.html#SpacecraftFile)
mergeFT2.exe -inputFT2 [input 1s FT2 file] -outputFT2 [output FT2 file]
-version [version int]
[-dt [time step] -clobber ['yes' or 'no']
Parameters:
-inputFT2 Input 1s FT2 file
-outputFT2 Name for the output FT2 file
-version Version to be written in the header (integer, default=1)
-dt Bin size for the output file*
-clobber (yes|no) Overwrite an existing output? (default = no)
-help Prints this help
* Note that some bins in the output file could have a different duration than 'dt', since the program will prematurely cut bins for example if LAT_MODE or LAT_CONFIG change value, or if it encounters bins with livetime=0 in the input FT2 file
|
Validation
Here I collect the results of the testing I performed, comparing the output generated by the old ft2Util code with the output generated by my code.
...