# Path: Plot/PlotLibrary.py
# class Spectrum:
#   def __init__(self,Parameters,Model,Emin,Emax,Representation = "e2dnde",escale = "TeV",Npt=200):
#   def CheckNumParemeters(self, Params):
#   def usage(self):
#   def MakeFluxAndError(self,Emin=0,Emax=10e10):
#   def GetModel(self,Emin=0,Emax=10e10):
#   def GetButterfly(self,Emin=0,Emax=10e10):
#   def _HandleUnit(self,ener,flux,dflux = None):
#       D = (np.power(self.Emax,1.-self.Gamma)-np.power(self.Emin,1.-self.Gamma))
#     N = 2*len(ene)+1


from Plot import PlotLibrary
import matplotlib.pyplot as plt
# author David Sanchez david.sanchez@lapp.in2p3.fr

# ------ Imports --------------- #
# ------------------------------ #

## Spectral information of PKS 2155-304 by HESS phase II mono reported here : 
Norm = 1480.18  *1e-12*1e-3
DNorm =    70.4701*1e-12*1e-3
Index = 2.9485
DIndex =  0.22477 
Beta = 1.04002
DBeta =  0.312364   

# Path: Plot/PlotLibrary.py
# class Spectrum:
#   def __init__(self,Parameters,Model,Emin,Emax,Representation = "e2dnde",escale = "TeV",Npt=200):
#   def CheckNumParemeters(self, Params):
#   def usage(self):
#   def MakeFluxAndError(self,Emin=0,Emax=10e10):
#   def GetModel(self,Emin=0,Emax=10e10):
#   def GetButterfly(self,Emin=0,Emax=10e10):
#   def _HandleUnit(self,ener,flux,dflux = None):
#       D = (np.power(self.Emax,1.-self.Gamma)-np.power(self.Emin,1.-self.Gamma))
#     N = 2*len(ene)+1


# Path: Example/ExPlotLibrary.py
from Plot import PlotLibrary
import matplotlib.pyplot as plt

# author David Sanchez david.sanchez@lapp.in2p3.fr

# ------ Imports --------------- #
# ------------------------------ #

## Spectral information of PKS 2155-304 by HESS phase II mono reported here : 
Norm = 1480.18  *1e-12*1e-3
DNorm =    70.4701*1e-12*1e-3
Index = 2.9485
DIndex =  0.22477 
Beta = 1.04002
DBeta =  0.312364   

Ec = 0.1412*1e3