Commit 1e0ec9e5277097b607d9ed6bae0960e8ba44b16f
Merge branch 'fiximport' into integration
Showing
2 changed files
with
3 additions
and
7 deletions
doc/source/user_manual/getting_started/python.rst
| @@ -18,13 +18,6 @@ generally not very useful. | @@ -18,13 +18,6 @@ generally not very useful. | ||
| 18 | >>> import gammalib | 18 | >>> import gammalib |
| 19 | >>> import ctools | 19 | >>> import ctools |
| 20 | 20 | ||
| 21 | -.. warning:: | ||
| 22 | - | ||
| 23 | - The GammaLib module needs to be imported **before** the ctools | ||
| 24 | - module so that GammaLib class types are handled correctly. | ||
| 25 | - So make sure that you **always import the GammaLib module before the ctools | ||
| 26 | - module.** | ||
| 27 | - | ||
| 28 | To illustrate how to use ctools from Python, below is a working example | 21 | To illustrate how to use ctools from Python, below is a working example |
| 29 | of an event list simulation using the :ref:`ctobssim` class. | 22 | of an event list simulation using the :ref:`ctobssim` class. |
| 30 | An instance ``sim`` of the :ref:`ctobssim` class is generated and user | 23 | An instance ``sim`` of the :ref:`ctobssim` class is generated and user |
pyext/ctools/__init__.py