ctmodel.html 11.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
<!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>ctmodel</title>

<link rel="stylesheet" type="text/css" media="screen,print" href="../ctools.css">
<meta content="Jurgen Knodlseder" name="author">
<meta content="CTA modelling tool" name="description">
</head>
<body>
<p class="Header">ctmodel</p>
<p class="Body">Calculates model counts maps.</p>
<br>
<p class="Title">Synopsis</p>
<p style="padding-top: 0pt; text-align: left;" class="Body">This
tool computes model counts maps based on an XML model.
The maps are data cubes in Right Ascension or Galactic longitude,
Declination or Galactic latitude,&nbsp;and log(energy).</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">Input counts map or observation
definition XML file.</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 model counts map or
observation definition XML file.</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>(prefix
= "modmap_")
[string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Prefix for model counts maps in
observation definition file.</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.</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">Instrument response function.</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
[string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Source model input XML file.</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>ra
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Right Ascension of pointing
(J2000, 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>dec
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Declination of pointing (J2000,
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>(deadc
= 0.95)
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Average deadtime correction factor.</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>tmin
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">CTA mission elapsed start time&nbsp;(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>tmax
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">CTA mission elapsed stop 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>(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">Algorithm for defining energy bins.
Currently, only <code>LOG</code> is supported.</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 value for first energy
bin (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 value for last energy
bin
(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.</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)
[file]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Name of the file containing the
energy bin definition (<span style="font-weight: bold;">not
yet implemented</span>).</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>nxpix
[integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Size of the Right Ascension /
Galactic longitude axis (in pixels).</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>nypix
[integer]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Size of the Declination / Galactic
latitude axis (in pixels).</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
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Pixel size (in degrees/pixel).</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>coordsys
= CEL &lt;CEL|GAL&gt; [string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Coordinate system (<code>CEL</code>
- celestial, <code>GAL</code> - galactic).</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>xref
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Right Ascension / Galactic longitude
of image centre
(J2000, 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>yref
[double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Declination / Galactic latitude of
image centre (J2000,
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>(axisrot
= h) [double]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Rotation angle of image axes (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>proj
= CAR [string]</strong></span></td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td width="25">&nbsp;</td>
<td width="525">Projection method (only <code>AZP,CAR,STG,TAN</code>
are supported so far).</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
= 1) [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
counts map 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 18 December
2012
</p>
<br>
</body></html>