ctbutterfly.html 7.35 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en"><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>ctbutterfly</title>

<link rel="stylesheet" type="text/css" media="screen,print" href="ctools.css">
<meta content="Michael Mayer" name="author">
<meta content="Spectral butterfly (confidence band) computation tools" name="description">
</head>
<body>
<p class="Header">ctbutterfly</p>
<p class="Body">Butterfly calculation tool.</p>
<br>
<p class="Title">Synopsis</p>
<p style="padding-top: 0pt; text-align: left;" class="Body">Calculates
the confidence band of a spectral model, taking into account the
covariance matrix of a likelihood fit.
</p>
<br>
<p class="Title">Links</p>
<ul class="Body">
<li><a href="ftools_usage.html">Basic FTOOL
Parameter Usage</a></li>
</ul>
<p style="padding-top: 0pt; text-align: left;" class="Body"></p>
<br>
<p class="Title">General parameters</p>
<table id="table1" class="Body" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>infile
[file]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">XML or fits file that defines the observation</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>srcmdl
[file]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Model XML file containing the source and background definitions</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>srcname
    [file]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Name of model for which butterfly should be computed</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>caldb
        [string]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Calibration database repository.</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>irf
        [string]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Instrumental response function that
        should be used for event generation.</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>outfile
        [file]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Output butterfly file name</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>(matrix = "NONE")
        [file]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Input covariance matrix file (not used)</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>emin
    [double]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Minimum energy of butterfly (in
        TeV).</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>emax
        [double]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Maximum energy of butterfly (in
        TeV).</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>(ebinalg
        = "LOG") &lt;FILE|LIN|LOG&gt;
        [string]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Butterfly binning algorithm</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>(enumbins
        = 100)
        [string]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">Number of energy bins of butterfly</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td colspan="2"><span class="irafpar"><strong>(ebinfile
        = "NONE")
        [string]</strong></span></td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td width="25">&nbsp;</td>
    <td width="525">File for energy binning algorithm</td>
</tr>
<tr>
    <td width="50">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="525">&nbsp;</td>
</tr>
</tbody>
</table>
<p class="Title">Standard parameters</p>
<table id="table1" class="Body" border="0" cellpadding="0" cellspacing="0" width="600">
<tbody>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>(chatter
= 2) [integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Verbosity of the executable:<br>
<code>chatter = 0</code>: no information will be
logged<br>
<code>chatter = 1</code>: only errors will be logged<br>
<code>chatter = 2</code>: errors and actions will be
logged<br>
<code>chatter = 3</code>: report about the task
execution<br>
<code>chatter = 4</code>: detailed report about the
task execution</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>(clobber
= yes) [boolean]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Specifies whether an existing output
event list should be overwritten.</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>(debug
= no) [boolean]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Enables debug mode. In debug mode
the executable will dump any log file output in the console.</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td colspan="2"><span class="irafpar"><strong>(mode
= ql) [string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Mode of automatic parameters.</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</td>
</tr>
</tbody>
</table>
<br>
<p class="Title">Related FTOOLS</p>
<br>
<hr size="1">
<p class="Body">Last updated by: Michael
Mayer 30 October
2014
</p>
<br>
</body></html>