cstsdist.html 7.95 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>cstsdist</title>

<link rel="stylesheet" type="text/css" media="screen,print" href="ctools.css">
<meta content="Jurgen Knodlseder" name="author">
<meta content="CTA TS distribution generator" name="description">
</head>
<body>
<p class="Header">cstsdist</p>
<p class="Body">Generates the TS distribution for a
particular model.</p>
<br>
<p class="Title">Synopsis</p>
<p style="padding-top: 0pt; text-align: left;" class="Body">Generates
the Test Statistics (TS) distribution for a particular model based on
Monte-Carlo simulations.</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>(outfile
= ts.dat)
[file]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">ASCII file containing the TS
distribution values.</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>ntrials
[integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Number of Monte Carlo samples.</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>type
[string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Source model type
(point/gauss/shell/disk).</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>(index
= -2.48)
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Spectral index for source model.</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>offset
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Source offset angle&nbsp;(in
degrees).</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>bkg
[string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Background model file function
(none=power law for subarray E).</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="525">&nbsp;</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>emin
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Lower energy limit (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">Upper energy limit (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>enumbins
[integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Number of energy bins (0=unbinned).</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>duration
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Effective exposure time (in seconds).</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>(rad
= 5.0)
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Radius of ROI (in degrees).</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>(npix
= 200)
[integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Number of pixels for binned analysis.</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>(binsz
= 0.05)
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Pixel size for binned analysis.</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: J&uuml;rgen
Kn&ouml;dlseder 21 December
2012
</p>
<br>
</body></html>