Script execution

This commit is contained in:
gac-x03da
2018-09-30 00:53:07 +02:00
parent e36a5ae88d
commit df6a385b13

View File

@@ -10,7 +10,7 @@ MOTORS = [Eph]
#100eV : KE = for Ge 3d
POSITIONS_B = [262]
for nn in range(2):
for nn in range(62):
POSITIONS_B.append(POSITIONS_B[-1]+4)
# BORON 1s
REGION_B = {'name': 'B 1s peak+tail', 'elo': 62., 'ehi': 75., 'estep': 0.10, 'epass': 20, 'tstep': 0.5, 'iter': 1, 'cis': True}
@@ -51,7 +51,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
self.scan_index = get_exec_pars().index
self.create_datasets()
if self.region_index == 0:
print "scan {0}: Polar = {pol} Azimuth = {azm}".format(self.scan_index,pol=self.sample_pos[0],azm=self.sample_pos[1])
print "scan {0}: Polar = {pol}, Azimuth = {azm}, x = {X}, y = {Y}, z = {Z}".format(self.scan_index,pol=self.sample_pos[0],azm=self.sample_pos[1],X=self.sample_pos[2],Y=self.sample_pos[3],Z=self.sample_pos[4])
ephot = Eph.read()
try: