IntroductionΒΆ

These tutorials provide some usage examples of the GammaLib C++ library and its Python module.

To test the C++ examples they need to be enclosed in the following code structure

1
2
3
4
5
#include "GammaLib.hpp"
int main(void) {
    // example code goes here
    return 0;
}

For the Python examples the gammalib module needs to be imported

1
2
import gammalib
# example code goes here