gtbindef

See gtbindef:

Help | Example

Also see:

Synopsis.

The gtbindef utility reads in an ASCII file with the time or energy bin definitions, and produces the appropriately formatted FITS file. This output (FITS) file is then used as an input file by the gtbin, enabling gtbin to generate customized binning (in energy or time) of Fermi event data.

Usage: gtbindef bintype binfile outfile energyunits

Parameters

  bintype [string: E|T]
    Type of bins to be generated; energy bins (E) or time bins (T).
     
  binfile [file]
    File containing the ASCII bin definitions. This file must be created by the user. The range (minimum and maximum values) of each bin may be specified, one per line. The code interprets the numbers in this file to be floating point. (See example.)
     
  outfile [file]
    Name of the output FITS file containing the bin definitions. This file will be an input to gtbin.
     
  energyunits = MeV [string: eV|KeV|MeV|GeV]
    Units of input energy bins: GeV, MeV, keV, or eV.
     
  (chatter)
    This parameter fixes the output verbosity: no screen output (0), nominal screen output (2), maximum verbosity (4). (default: 2)
     
  (clobber = yes)
    If yes, an existing file of the same name will be overwritten. This is a hidden parameter. (default: yes)
     
  (debug = no)
   

Activate debugging mode. (default: no)

When debug is "no", all exceptions that are not caught and handled by individual tool-specific code are caught by a top-level exception handler that
displays information about the exception and then exits.

When debug is "yes", such exceptions are not caught by the top level code. Instead the tool produces a segmentation violation, which is more useful for debugging. When debugging mode is enabled, the tool produces more verbose output describing any errors or exceptions that are encountered.

     
  (gui = no)
    If this parameter specified is "yes", the Graphical User Interface (GUI) mode is activated. This is a hidden parameter. (default: no)
     
  (mode = ql)
    Mode of automatic parameters. This is a hidden parameter. (default: ql)
     

Owned by: Yasushi Ikebe ikebe@milkyway.gsfc.nasa.gov
  James Peachey peachey@lheamail.gsfc.nasa.gov
Last updated by: Chuck Patterson 02/08/2011