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]')
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]')
def PlotEEnd(ax,Sim): E= rget(Sim.Data,['ParticleStartData','Data','E']) ax.hist(E) ax.set_xlabel('E[eV]')