예제 #1
0
def PlotEStartEnd(ax,Sim,**kwargs):
    Estart = rget(Sim.Data,['ParticleStartData','Data','E'])
    Eend= rget(Sim.Data,['ParticleEndData','Data','E'])
    ax.hist(Estart,**kwargs)
    ax.hist(Eend,**kwargs)
    ax.set_xlabel('E[eV]')
예제 #2
0
def SurfaceAngle(ax,Sim):
    A = rget(Sim.Data,['SurfaceData','Data','A'])
    gridA = rget(Sim.Data,['SurfaceData','Data','GridA'])
    ax.plot(gridA,A)
    ax.set_xlabel('angle [degree]')
예제 #3
0
def PlotEEnd(ax,Sim):
    E= rget(Sim.Data,['ParticleStartData','Data','E'])
    ax.hist(E)
    ax.set_xlabel('E[eV]')