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#include "GammaLib.hpp"
2int main(void) {
3    // example code goes here
4    return 0;
5}

For the Python examples the gammalib module needs to be imported

1import gammalib
2# example code goes here