Commit 99df16ce50db3415ab23bca1832b86c70651658a
1 parent
38751864
Update documentation
Showing
5 changed files
with
39 additions
and
60 deletions
doc/source/admin/release_history/1.4.rst
doc/source/users/user_manual/getting.rst
| ... | ... | @@ -36,7 +36,7 @@ required to compile : |
| 36 | 36 | - readline, including the readline developer package that provides the |
| 37 | 37 | ``readline.h`` header file. If readline is present, the packages are used |
| 38 | 38 | to enhance the user interface when entering parameters for ftools |
| 39 | - applications (see section [sec:app]). | |
| 39 | + applications (see :ref:`this section <sec_app>`). | |
| 40 | 40 | |
| 41 | 41 | If you plan to modify or to extend the GammaLib source code, the following |
| 42 | 42 | software is also required on your system: |
| ... | ... | @@ -48,7 +48,7 @@ software is also required on your system: |
| 48 | 48 | |
| 49 | 49 | - `swig <http://www.swig.org/>`_ is needed to rebuild the Python wrappers |
| 50 | 50 | following Python interface modifications. Make sure to install the |
| 51 | - latest swig version () to guarantee the largest possible | |
| 51 | + latest swig version to guarantee the largest possible | |
| 52 | 52 | compatibility of the Python wrappers. |
| 53 | 53 | |
| 54 | 54 | - `Doxygen <http://www.doxygen.org/>`_ is needed to rebuild the software |
| ... | ... | @@ -133,7 +133,7 @@ readline (version 6.2) in the GammaLib default install directory |
| 133 | 133 | $ make |
| 134 | 134 | $ sudo make install |
| 135 | 135 | |
| 136 | -Note that sudo is only needed if you are not the owner of the install | |
| 136 | +Note that ``sudo`` is only needed if you are not the owner of the install | |
| 137 | 137 | directory. |
| 138 | 138 | |
| 139 | 139 | Installing |
| ... | ... | @@ -142,33 +142,7 @@ Installing |
| 142 | 142 | Downloading |
| 143 | 143 | ~~~~~~~~~~~ |
| 144 | 144 | |
| 145 | -To get the latest version of GammaLib, please visit the site | |
| 146 | -http://cta.irap.omp.eu/ctools/download.html. The code can be downloaded | |
| 147 | -from this site by selection the gammalib package from the table. | |
| 148 | -Alternatively, the code can be downloaded and unpacked from the UNIX prompt | |
| 149 | -using:: | |
| 150 | - | |
| 151 | - $ wget --no-check-certificate http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.0.0.tar.gz | |
| 152 | - $ tar xfz gammalib-1.0.0.tar.gz | |
| 153 | - | |
| 154 | -The GammaLib source code can also be cloned using git. This method is | |
| 155 | -recommended if you plan to contribute to the development of the GammaLib | |
| 156 | -library. Assuming that git is installed on your system, you may clone | |
| 157 | -GammaLib using:: | |
| 158 | - | |
| 159 | - $ git clone https://cta-gitlab.irap.omp.eu/gammalib/gammalib.git | |
| 160 | - | |
| 161 | -In case that you get: | |
| 162 | - | |
| 163 | -.. code-block:: bash | |
| 164 | - | |
| 165 | - error: SSL certificate problem, verify that the CA cert is OK. | |
| 166 | - | |
| 167 | -you should add:: | |
| 168 | - | |
| 169 | - $ export GIT_SSL_NO_VERIFY=true | |
| 170 | - | |
| 171 | -before retrieving the code. | |
| 145 | +You get the latest version of GammaLib :ref:`here <sec_download>`. | |
| 172 | 146 | |
| 173 | 147 | .. _sec_configure: |
| 174 | 148 | |
| ... | ... | @@ -202,27 +176,29 @@ case that you encounter installation problems, and may help you to |
| 202 | 176 | diagnose the problems. The typical output that you may see is as |
| 203 | 177 | follows:: |
| 204 | 178 | |
| 205 | - GammaLib configuration summary | |
| 206 | - ============================== | |
| 207 | - * FITS I/O support (yes) /usr/local/gamma/lib /usr/local/gamma/include | |
| 208 | - * Readline support (yes) | |
| 209 | - * Ncurses support (yes) | |
| 210 | - * Make Python binding (yes) use swig for updates | |
| 211 | - * Python (yes) | |
| 212 | - * Python.h (yes) | |
| 213 | - * Python wrappers (yes) | |
| 214 | - * swig (yes) | |
| 215 | - * Multiwavelength interface (yes) | |
| 216 | - * Fermi-LAT interface (yes) | |
| 217 | - * CTA interface (yes) | |
| 218 | - * COMPTEL interface (yes) | |
| 219 | - * Doxygen (yes) /opt/local/bin/doxygen | |
| 220 | - * Perform NaN/Inf checks (yes) (default) | |
| 221 | - * Perform range checking (yes) (default) | |
| 222 | - * Optimize memory usage (yes) (default) | |
| 223 | - * Enable OpenMP (yes) (default) | |
| 224 | - - Compile in debug code (no) (default) | |
| 225 | - - Enable code for profiling (no) (default) | |
| 179 | + GammaLib configuration summary | |
| 180 | + ============================== | |
| 181 | + * FITS I/O support (yes) | |
| 182 | + * Readline support (yes) | |
| 183 | + * Ncurses support (yes) | |
| 184 | + * Developer configuration (yes) | |
| 185 | + * Make Python binding (yes) use swig for updates | |
| 186 | + * Python (yes) | |
| 187 | + * Python.h (yes) | |
| 188 | + * Python wrappers (yes) | |
| 189 | + * swig (yes) | |
| 190 | + * Multiwavelength interface (yes) | |
| 191 | + * Fermi-LAT interface (yes) | |
| 192 | + * CTA interface (yes) | |
| 193 | + * COMPTEL interface (yes) | |
| 194 | + * Doxygen (yes) /usr/local/bin/doxygen | |
| 195 | + * Perform NaN/Inf checks (yes) (default) | |
| 196 | + * Perform range checking (yes) (default) | |
| 197 | + * Optimize memory usage (yes) (default) | |
| 198 | + * Support legacy XML format (yes) (default) | |
| 199 | + - Enable OpenMP (no) | |
| 200 | + - Compile in debug code (no) (default) | |
| 201 | + - Enable code for profiling (no) (default) | |
| 226 | 202 | |
| 227 | 203 | The script informs whether cfitsio has been found (and eventually also |
| 228 | 204 | gives the directories in which the cfitsio library and the header file | ... | ... |
doc/source/users/user_manual/introduction.rst
| ... | ... | @@ -43,7 +43,7 @@ are: |
| 43 | 43 | * Issue tracker: https://cta-redmine.irap.omp.eu/projects/gammalib/issues |
| 44 | 44 | * Documentation: http://cta.irap.omp.eu/gammalib/ |
| 45 | 45 | |
| 46 | -The present document applies to GammaLib version 1.0. | |
| 46 | +The present document applies to GammaLib version 1.4. | |
| 47 | 47 | |
| 48 | 48 | GammaLib is designed to compile on any POSIX compliant platform. So far, |
| 49 | 49 | GammaLib has been successfully compiled and tested on Mac OS X, OpenBSD, OpenSolaris | ... | ... |
doc/source/users/user_manual/modules/intro.rst
| ... | ... | @@ -9,7 +9,7 @@ arithmetics. However, we do not provide a detailed description of the |
| 9 | 9 | interface and the inner workings of each C++ class. This information is |
| 10 | 10 | provided in the reference documentation, which can be found online at |
| 11 | 11 | http://cta.irap.omp.eu/gammalib/doxygen/, or which can be installed |
| 12 | -locally on your machine (see section :ref:`sec_doxygen`). | |
| 12 | +locally on your machine (see :ref:`sec_doxygen`). | |
| 13 | 13 | |
| 14 | 14 | Each GammaLib module is presented in a dedicated section, following the overview |
| 15 | 15 | shown in :ref:`fig_structure` from the top-left to the bottom right. |
| ... | ... | @@ -18,7 +18,7 @@ Instrument specific modules are described in a dedicated chapter (see |
| 18 | 18 | illustrated using a UML diagram. |
| 19 | 19 | |
| 20 | 20 | To explain how to read such a diagram, we show an example for five |
| 21 | -fictive classes in :ref:`fig_uml_template`. Our example shows a container | |
| 21 | +fictive classes in the figure below. Our example shows a container | |
| 22 | 22 | class that contains an arbitrary number of elements which are realized |
| 23 | 23 | by an abstract base class. Names of abstract base classes are indicated |
| 24 | 24 | in *italic* to highlight the fact that such classes can not be |
| ... | ... | @@ -34,6 +34,7 @@ dotted boundary. |
| 34 | 34 | .. _fig_uml_template: |
| 35 | 35 | |
| 36 | 36 | .. figure:: uml_template.png |
| 37 | - :width: 100% | |
| 37 | + :width: 60% | |
| 38 | + :align: center | |
| 38 | 39 | |
| 39 | - UML usage | |
| 40 | + *UML usage* | ... | ... |
doc/source/users/user_manual/modules/model.rst
| ... | ... | @@ -1084,8 +1084,8 @@ between 0 and 1. |
| 1084 | 1084 | |
| 1085 | 1085 | *Structure of phase curve FITS file* |
| 1086 | 1086 | |
| 1087 | -By default, the ``NORM`` values are recomputed internally so that the phase | |
| 1088 | -averaged normalisation is one. In that case, the spectral component corresponds | |
| 1087 | +By default, the ``NORM`` values are recomputed internally so that the | |
| 1088 | +phase-averaged normalisation is one. In that case, the spectral component corresponds | |
| 1089 | 1089 | to the phase-averaged spectrum. If the internal normalisation should be disabled |
| 1090 | 1090 | the ``normalize="0"`` attribute needs to be added to the temporal tag, i.e. |
| 1091 | 1091 | ... | ... |