Closedown
This commit is contained in:
@@ -138,8 +138,6 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
if self.region_index == 0:
|
||||
print "scan {0}".format(self.scan_index)
|
||||
|
||||
print "scan {0}, region {1}".format(self.scan_index, self.region_index)
|
||||
|
||||
edelta = 0.0
|
||||
try:
|
||||
ephot = self.region['ephot']
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
||||
|
||||
# caution: do not insert multiple runs in the same script!
|
||||
# earlier runs are overwritten!
|
||||
|
||||
rs = RangeSelection(408.0,414.0)
|
||||
rs.setVars([0.5, 0.2, 1, 700.]) #Time, Size, Iteration, photon energy
|
||||
|
||||
@@ -7,11 +10,3 @@ run("XPSSpectrum", {"save_scienta_image":True,
|
||||
"ranges":[rs, ],
|
||||
"ENDSCAN":False,
|
||||
"pass_energy":50})
|
||||
|
||||
rs = RangeSelection(458.0,464.0)
|
||||
rs.setVars([0.5, 0.2, 1, 750.]) #Time, Size, Iteration, photon energy
|
||||
|
||||
run("XPSSpectrum", {"save_scienta_image":True,
|
||||
"ranges":[rs, ],
|
||||
"ENDSCAN":False,
|
||||
"pass_energy":50})
|
||||
|
||||
Reference in New Issue
Block a user