Commit bc6b6356b344c2d9e93c675e04f7488ad455a260
1 parent
22ad5816
Add tools_reference.rst page
Showing
4 changed files
with
207 additions
and
2 deletions
doc/html/tools_reference.html
0 → 100644
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| 2 | + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 3 | + | ||
| 4 | + | ||
| 5 | +<html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 6 | + <head> | ||
| 7 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| 8 | + | ||
| 9 | + <title>ctools reference manual — ctools 0.7.2 documentation</title> | ||
| 10 | + | ||
| 11 | + <link rel="stylesheet" href="_static/sphinx13.css" type="text/css" /> | ||
| 12 | + <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
| 13 | + | ||
| 14 | + <script type="text/javascript"> | ||
| 15 | + var DOCUMENTATION_OPTIONS = { | ||
| 16 | + URL_ROOT: './', | ||
| 17 | + VERSION: '0.7.2', | ||
| 18 | + COLLAPSE_INDEX: false, | ||
| 19 | + FILE_SUFFIX: '.html', | ||
| 20 | + HAS_SOURCE: true | ||
| 21 | + }; | ||
| 22 | + </script> | ||
| 23 | + <script type="text/javascript" src="_static/jquery.js"></script> | ||
| 24 | + <script type="text/javascript" src="_static/underscore.js"></script> | ||
| 25 | + <script type="text/javascript" src="_static/doctools.js"></script> | ||
| 26 | + <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
| 27 | + <link rel="shortcut icon" href="_static/favicon.ico"/> | ||
| 28 | + <link rel="top" title="ctools 0.7.2 documentation" href="index.html" /> | ||
| 29 | + <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700' | ||
| 30 | + rel='stylesheet' type='text/css'> | ||
| 31 | + | ||
| 32 | + <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' | ||
| 33 | + rel='stylesheet' type='text/css'> | ||
| 34 | + | ||
| 35 | + <style type="text/css"> | ||
| 36 | + table.right { float: right; margin-left: 20px; } | ||
| 37 | + table.right td { border: 1px solid #ccc; } | ||
| 38 | + | ||
| 39 | + </style> | ||
| 40 | + <script type="text/javascript"> | ||
| 41 | + // intelligent scrolling of the sidebar content | ||
| 42 | + $(window).scroll(function() { | ||
| 43 | + var sb = $('.sphinxsidebarwrapper'); | ||
| 44 | + var win = $(window); | ||
| 45 | + var sbh = sb.height(); | ||
| 46 | + var offset = $('.sphinxsidebar').position()['top']; | ||
| 47 | + var wintop = win.scrollTop(); | ||
| 48 | + var winbot = wintop + win.innerHeight(); | ||
| 49 | + var curtop = sb.position()['top']; | ||
| 50 | + var curbot = curtop + sbh; | ||
| 51 | + // does sidebar fit in window? | ||
| 52 | + if (sbh < win.innerHeight()) { | ||
| 53 | + // yes: easy case -- always keep at the top | ||
| 54 | + sb.css('top', $u.min([$u.max([0, wintop - offset - 10]), | ||
| 55 | + $(document).height() - sbh - 200])); | ||
| 56 | + } else { | ||
| 57 | + // no: only scroll if top/bottom edge of sidebar is at | ||
| 58 | + // top/bottom edge of window | ||
| 59 | + if (curtop > wintop && curbot > winbot) { | ||
| 60 | + sb.css('top', $u.max([wintop - offset - 10, 0])); | ||
| 61 | + } else if (curtop < wintop && curbot < winbot) { | ||
| 62 | + sb.css('top', $u.min([winbot - sbh - offset - 20, | ||
| 63 | + $(document).height() - sbh - 200])); | ||
| 64 | + } | ||
| 65 | + } | ||
| 66 | + }); | ||
| 67 | + </script> | ||
| 68 | + | ||
| 69 | + </head> | ||
| 70 | + <body> | ||
| 71 | +<div class="pageheader"> | ||
| 72 | + <ul> | ||
| 73 | + <li><a href="index.html">Home</a></li> | ||
| 74 | + <li><a href="download.html">Get it</a></li> | ||
| 75 | + <li><a href="contents.html">Docs</a></li> | ||
| 76 | + <li><a href="develop.html">Extend/Develop</a></li> | ||
| 77 | + </ul> | ||
| 78 | + <div> | ||
| 79 | + <a href="index.html"> | ||
| 80 | + <div class=banner_part> | ||
| 81 | + <img src="_static/logo.png" height="64" alt="SPHINX" /> | ||
| 82 | + </div> | ||
| 83 | + <div class=banner_part> | ||
| 84 | + <span id="banner_text1">CTA</span><br/> | ||
| 85 | + <span id="banner_text2">Cherenkov Telescope Array Science Analysis Software</span> | ||
| 86 | + </div> | ||
| 87 | + </a> | ||
| 88 | + </div> | ||
| 89 | +</div> | ||
| 90 | + | ||
| 91 | + <div class="related"> | ||
| 92 | + <h3>Navigation</h3> | ||
| 93 | + <ul> | ||
| 94 | + <li class="right" style="margin-right: 10px"> | ||
| 95 | + <a href="genindex.html" title="General Index" | ||
| 96 | + accesskey="I">index</a></li> | ||
| 97 | + <li><a href="index.html">Home</a> |</li> | ||
| 98 | + <li><a href="contents.html">Documentation</a> »</li> | ||
| 99 | + | ||
| 100 | + </ul> | ||
| 101 | + </div> | ||
| 102 | + <div class="sphinxsidebar"> | ||
| 103 | + <div class="sphinxsidebarwrapper"> | ||
| 104 | + <h3><a href="contents.html">Table Of Contents</a></h3> | ||
| 105 | + <ul> | ||
| 106 | +<li><a class="reference internal" href="#">ctools reference manual</a><ul> | ||
| 107 | +<li><a class="reference internal" href="#ctools">ctools</a></li> | ||
| 108 | +<li><a class="reference internal" href="#cscripts">cscripts</a></li> | ||
| 109 | +</ul> | ||
| 110 | +</li> | ||
| 111 | +</ul> | ||
| 112 | + | ||
| 113 | +<div id="searchbox" style="display: none"> | ||
| 114 | + <h3>Quick search</h3> | ||
| 115 | + <form class="search" action="search.html" method="get"> | ||
| 116 | + <input type="text" name="q" /> | ||
| 117 | + <input type="submit" value="Go" /> | ||
| 118 | + <input type="hidden" name="check_keywords" value="yes" /> | ||
| 119 | + <input type="hidden" name="area" value="default" /> | ||
| 120 | + </form> | ||
| 121 | + <p class="searchtip" style="font-size: 90%"> | ||
| 122 | + Enter search terms or a module, class or function name. | ||
| 123 | + </p> | ||
| 124 | +</div> | ||
| 125 | +<script type="text/javascript">$('#searchbox').show(0);</script> | ||
| 126 | + </div> | ||
| 127 | + </div> | ||
| 128 | + | ||
| 129 | + <div class="document"> | ||
| 130 | + <div class="documentwrapper"> | ||
| 131 | + <div class="bodywrapper"> | ||
| 132 | + <div class="body"> | ||
| 133 | + | ||
| 134 | + <div class="section" id="ctools-reference-manual"> | ||
| 135 | +<h1>ctools reference manual<a class="headerlink" href="#ctools-reference-manual" title="Permalink to this headline">¶</a></h1> | ||
| 136 | +<p>General information on FTOOLS usage can be found <a class="reference external" href="fhelp/ftools_usage.html">here</a>.</p> | ||
| 137 | +<p>Below you can find links to the command line tools help pages that are available in ctools.</p> | ||
| 138 | +<div class="section" id="ctools"> | ||
| 139 | +<h2>ctools<a class="headerlink" href="#ctools" title="Permalink to this headline">¶</a></h2> | ||
| 140 | +<ul class="simple"> | ||
| 141 | +<li><a class="reference external" href="fhelp/ctbin.html">ctbin</a> — Calculates counts maps for binned maximum likelihood analysis.</li> | ||
| 142 | +<li><a class="reference external" href="fhelp/ctlike.html">ctlike</a> — Performs binned and unbinned maximum likelihood analysis of CTA data.</li> | ||
| 143 | +<li><a class="reference external" href="fhelp/ctmodel.html">ctmodel</a> — Calculates model counts maps.</li> | ||
| 144 | +<li><a class="reference external" href="fhelp/ctobssim.html">ctobssim</a> — Observation simulator.</li> | ||
| 145 | +<li><a class="reference external" href="fhelp/ctselect.html">ctselect</a> — Performs sub-selections of event data which are needed for unbinned maximum likelihood analysis.</li> | ||
| 146 | +<li><a class="reference external" href="fhelp/ctskymap.html">ctskymap</a> — Computes sky map from CTA data.</li> | ||
| 147 | +</ul> | ||
| 148 | +</div> | ||
| 149 | +<div class="section" id="cscripts"> | ||
| 150 | +<h2>cscripts<a class="headerlink" href="#cscripts" title="Permalink to this headline">¶</a></h2> | ||
| 151 | +<ul class="simple"> | ||
| 152 | +<li><a class="reference external" href="fhelp/cspull.html">cspull</a> — Generates pull distribution for all model parameters.</li> | ||
| 153 | +<li><a class="reference external" href="fhelp/cssens.html">cssens</a> — Computes the CTA sensitivity for a number of energy bins.</li> | ||
| 154 | +<li><a class="reference external" href="fhelp/cstsdist.html">cstsdist</a> — Generates the TS distribution for a particular model.</li> | ||
| 155 | +</ul> | ||
| 156 | +</div> | ||
| 157 | +</div> | ||
| 158 | + | ||
| 159 | + | ||
| 160 | + </div> | ||
| 161 | + </div> | ||
| 162 | + </div> | ||
| 163 | + <div class="clearer"></div> | ||
| 164 | + </div> | ||
| 165 | + <div class="related"> | ||
| 166 | + <h3>Navigation</h3> | ||
| 167 | + <ul> | ||
| 168 | + <li class="right" style="margin-right: 10px"> | ||
| 169 | + <a href="genindex.html" title="General Index" | ||
| 170 | + >index</a></li> | ||
| 171 | + <li><a href="index.html">Home</a> |</li> | ||
| 172 | + <li><a href="contents.html">Documentation</a> »</li> | ||
| 173 | + | ||
| 174 | + </ul> | ||
| 175 | + </div> | ||
| 176 | + <div class="footer"> | ||
| 177 | + Last updated on Jul 09, 2014. | ||
| 178 | + </div> | ||
| 179 | + </body> | ||
| 180 | +</html> | ||
| 0 | \ No newline at end of file | 181 | \ No newline at end of file |
doc/source/_templates/index.html
| @@ -37,7 +37,7 @@ CTA format), Fermi/LAT and COMPTEL data. {%endtrans%}</p> | @@ -37,7 +37,7 @@ CTA format), Fermi/LAT and COMPTEL data. {%endtrans%}</p> | ||
| 37 | <li><a class="smalllink" href="{{ pathto("user_manual/getting_started/quickstart") }}">{%trans%}Quickstart{%endtrans%}</a></li> | 37 | <li><a class="smalllink" href="{{ pathto("user_manual/getting_started/quickstart") }}">{%trans%}Quickstart{%endtrans%}</a></li> |
| 38 | <li><a class="smalllink" href="{{ pathto("user_manual/getting_started/response") }}">{%trans%}CTA response functions{%endtrans%}</a></li> | 38 | <li><a class="smalllink" href="{{ pathto("user_manual/getting_started/response") }}">{%trans%}CTA response functions{%endtrans%}</a></li> |
| 39 | <li><a class="smalllink" href="{{ pathto("user_manual/index") }}">{%trans%}User Manual{%endtrans%}</a></li> | 39 | <li><a class="smalllink" href="{{ pathto("user_manual/index") }}">{%trans%}User Manual{%endtrans%}</a></li> |
| 40 | -<li><a class="smalllink" href="{{ pathto("documentation") }}">{%trans%}ctools reference{%endtrans%}</a></li> | 40 | +<li><a class="smalllink" href="{{ pathto("tools_reference") }}">{%trans%}ctools Reference{%endtrans%}</a></li> |
| 41 | <li><a class="smalllink" href="doxygen/index.html">{%trans%}Source code documentation (Doxygen){%endtrans%}</a></li> | 41 | <li><a class="smalllink" href="doxygen/index.html">{%trans%}Source code documentation (Doxygen){%endtrans%}</a></li> |
| 42 | </ul> | 42 | </ul> |
| 43 | 43 |
doc/source/conf.py
| @@ -41,7 +41,9 @@ sys.path.append(os.path.abspath('exts')) | @@ -41,7 +41,9 @@ sys.path.append(os.path.abspath('exts')) | ||
| 41 | # https://pypi.python.org/pypi/sphinxcontrib-rawfiles | 41 | # https://pypi.python.org/pypi/sphinxcontrib-rawfiles |
| 42 | extensions += ['rawfiles'] | 42 | extensions += ['rawfiles'] |
| 43 | 43 | ||
| 44 | -rawfiles = ['fhelp/ctlike.html'] | 44 | +# You can list any files or folders here that should be copied 1:1 to the html |
| 45 | +# output directory by sphinx-build | ||
| 46 | +rawfiles = ['fhelp'] | ||
| 45 | 47 | ||
| 46 | # Add any paths that contain templates here, relative to this directory. | 48 | # Add any paths that contain templates here, relative to this directory. |
| 47 | templates_path = ['_templates'] | 49 | templates_path = ['_templates'] |
doc/source/tools_reference.rst
0 → 100644
| 1 | +ctools reference manual | ||
| 2 | +======================= | ||
| 3 | + | ||
| 4 | +General information on FTOOLS usage can be found `here <fhelp/ftools_usage.html>`__. | ||
| 5 | + | ||
| 6 | +Below you can find links to the command line tools help pages that are available in ctools. | ||
| 7 | + | ||
| 8 | +ctools | ||
| 9 | +------ | ||
| 10 | + | ||
| 11 | +* `ctbin <fhelp/ctbin.html>`__ --- Calculates counts maps for binned maximum likelihood analysis. | ||
| 12 | +* `ctlike <fhelp/ctlike.html>`__ --- Performs binned and unbinned maximum likelihood analysis of CTA data. | ||
| 13 | +* `ctmodel <fhelp/ctmodel.html>`__ --- Calculates model counts maps. | ||
| 14 | +* `ctobssim <fhelp/ctobssim.html>`__ --- Observation simulator. | ||
| 15 | +* `ctselect <fhelp/ctselect.html>`__ --- Performs sub-selections of event data which are needed for unbinned maximum likelihood analysis. | ||
| 16 | +* `ctskymap <fhelp/ctskymap.html>`__ --- Computes sky map from CTA data. | ||
| 17 | + | ||
| 18 | +cscripts | ||
| 19 | +-------- | ||
| 20 | + | ||
| 21 | +* `cspull <fhelp/cspull.html>`__ --- Generates pull distribution for all model parameters. | ||
| 22 | +* `cssens <fhelp/cssens.html>`__ --- Computes the CTA sensitivity for a number of energy bins. | ||
| 23 | +* `cstsdist <fhelp/cstsdist.html>`__ --- Generates the TS distribution for a particular model. |