Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Analysis object creation using the hoops/ape interface

The UnbinnedAnalysis and BinnedAnalysis modules contain functions that use the hoops/pil/ape interface to take advantage of the gtlike.par file for specifying inputs. Usage of this interface may be more convenient than creating the UnbinnedObs, UnbinnedAnalysis, BinnedObs, and BinnedAnalysis objects directly. Here are some examples of their use:

...

  • A BinnedAnalysis object may be created in a similar fashion using the binnedAnalysis function:
    Code Block
    >>> from BinnedAnalysis import *
    >>> like = binnedAnalysis() 
    Response functions to use[P6_V1_DIFFUSE::FRONT] 
    Counts map file[smaps_0_20_inc_front.fits] 
    Binned exposure map[binned_expmap_0_20_inc_front.fits] 
    Exposure hypercube file[expCube_0_20_inc.fits] 
    Source model file[Vela_model_0_20_inc_front.xml] 
    Optimizer (DRMNFB|NEWMINUIT|MINUIT|DRMNGB|LBFGS) [MINUIT] 
    

Photon and Energy Flux Calculations

With Likelihood v13r18 and pyLikelihood v1r6 (ST v9r8), a facility has been added for calculating photon (ph/cm^2/s) and energy (MeV/cm^2/s) fluxes over a selectable energy range. The errors on these quantities are computed using the procedure described in this presentation made at the September 2008 Collaboration meeting. Here are some usage examples:

...