gtpsf

See gtpsf:

Help | Example

Also see:

Synopsis:

Calculates the effective point spread function, as a function of energy at a given source location, averaged over an observation.

Usage: gtpsf expcube outfile irfs ra dec emin emax nenergies thetamax ntheta

Links:

General Parameters

  expcube [file]
   

Livetime cube file.

FITS file containing livetime as a function of sky position and off-axis angle; also referred to as the "exposure hypercube file". This file is generated by gtltcube.

     
  outfile [file]
    Name of output FITS file.
     
  (outtable = PSF) [string]
    Name of the output file binary table extension which contains the results.
This is a hidden parameter. (default: PSF)
     
  irfs = P6_V3_DIFFUSE [string]
    Instrument response function.
     
  ra (0:360)
    Right Ascension (J2000) of desired source position in decimal degrees.
     
  dec (-90:90)
    Declination (J2000) of desired source position in decimal degrees.
     
  emin = 20
   

Minimum of the energy range covered, in MeV.

The range of this parameter depends on the response function used. Currently, it is recommended that emin be larger than, or equal to, 18 MeV. (default: 20)

     
  emax = 2e5
   

Maximum of the energy range covered, in MeV.

The range of this parameter depends on the response function used. Currently, it is recommended that emax be smaller than, or equal to, 5.6e6 MeV. (default: 2e5)

     
  nenergies = 20 [int]
   

Number of energies.

Number of logarithmically spaced energies; should be larger than 1. A typical value could be 20. (default: 20)

     
  thetamax = 30
   

Maximum angle.

Maximum angle of apparent photon direction with respect to the source direction (degrees). (default: 30)

     
  ntheta = 300 [int]
    Number of linearly spaced angles. (default: 300)
     
  (chatter = 2)
    This parameter fixes the output verbosity: no screen output (0), nominal screen output (2), maximum verbosity (4). (default: 2)
     
  (clobber = yes)
    Overwrite existing output files. This is a hidden parameter. (default: yes)
     
  (debug = no)
   

Activate debugging mode. This is a hidden parameter. (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)
    Graphical user Interface (GUI) mode activated. This is a hidden parameter. (default: no)
     
  (mode = ql)
    Mode of automatic parameters. This is a hidden parameter. (default: ql)
     

Owned by: J. Chiang

Last updated by: Chuck Patterson 04/05/2011