Knödlseder Jürgen, 10/26/2015 11:02 PM
Download (213 Bytes)
import gammalib
#m = gammalib.GModels("model_point_eplaw.xml")
m = gammalib.GModels("model_point_logparabola.xml")
flux = m[0].spectral().flux(gammalib.GEnergy(1.0,"TeV"), gammalib.GEnergy(2.0,"TeV"))
print(flux)