
ctprob
======

Compute event probability for a given model.


Synopsis
--------

This tool computes for each event the probability that the event originates
from a one of the components of a model.

The tool takes on input an event list or an observation definiton XML file and
appends on output to each event file columns that provide the probabilities.
The column names are formed from the model name that is prefixed with PROB_.


General parameters
------------------

inobs [file]
    Input event list or observation definition XML file

outobs [file]
    Output event list or observation definition XML file.

(prefix = "prob_") [string]
    Prefix for output event lists in observation definition XML file.

inmodel [string]
    Input model definition XML file.

caldb [string]
    Calibration database.

irf [string]
    Instrument response function.

(edisp = no) [boolean]
    Applies energy dispersion to response computation.


Standard parameters
-------------------

(publish = no) [boolean]
    Specifies whether the event list(s) should be published on VO Hub.

(chatter = 2) [integer]
    Verbosity of the executable:
     chatter = 0: no information will be logged

     chatter = 1: only errors will be logged

     chatter = 2: errors and actions will be logged

     chatter = 3: report about the task execution

     chatter = 4: detailed report about the task execution

(clobber = yes) [boolean]
    Specifies whether existing output files should be overwritten.

(debug = no) [boolean]
    Enables debug mode. In debug mode the executable will dump any log file output to the console.

(mode = ql) [string]
    Mode of automatic parameters (default is ql, i.e. "query and learn").

(logfile = ctprob.log) [string]
    Name of log file.


Related tools or scripts
------------------------

ctphase
csphasecrv
