test.py

Knödlseder Jürgen, 10/26/2015 11:02 PM

Download (213 Bytes)

 
1
import gammalib
2
#m = gammalib.GModels("model_point_eplaw.xml")
3
m = gammalib.GModels("model_point_logparabola.xml")
4
flux = m[0].spectral().flux(gammalib.GEnergy(1.0,"TeV"), gammalib.GEnergy(2.0,"TeV"))
5
print(flux)