Closedown

This commit is contained in:
gac-x03da
2019-05-31 16:02:11 +02:00
parent eec11c4b36
commit dca4e0418b
3 changed files with 16 additions and 7 deletions

View File

@@ -36,10 +36,11 @@ plots = plot(None, names)
for p in plots[1:]:
p.getAxis(p.AxisId.X).label = "kinetic energy"
p.getAxis(p.AxisId.X2).setLabel("binding energy")
#p.getAxis(p.AxisId.X2).inverted = True
p.getAxis(p.AxisId.X2).inverted = True
p = plots[0]
be_axis = plots[0].getAxis(p.AxisId.X2)
be_axis.inverted=True
be_axis.setLabel("binding energy")
spectrum_series = p.getSeries(0)
@@ -54,7 +55,7 @@ def get_binding_range():
ephot = ehi
eb1 = ephot - elo - workfunc
eb2 = ephot - ehi - workfunc
return eb1, eb2
return eb2, eb1
eb2, eb1 = get_binding_range()