Skip to content
Snippets Groups Projects
Commit 91ba3081 authored by Your Name's avatar Your Name
Browse files

Scienta_edits

parent c074cba7
No related branches found
No related tags found
1 merge request!11Main merge jmcchesn-main-patch branch with main
......@@ -440,13 +440,19 @@ class Scienta:
caput(self.PHV+"SweepLoadFanout.PROC",1)
time.sleep(1)
#check that there are no zeros in the KE_array
KE_array = caget("29idcScienta:HV:KE_array")
KE_array = caget(self.PHV+"KE_array")
if np.min(KE_array)<1:
print("KE_array had zeros")
caput(self.PHV+"SweepReCalc.PROC",1)
time.sleep(2)
caput(self.PHV+"SweepLoadFanout.PROC",1)
time.sleep(1)
if len(KE_array) != caget(self.PHV+"scan2.NPTS"):
print("number of scan point and KE_array miss match")
caput(self.PHV+"SweepReCalc.PROC",1)
time.sleep(2)
caput(self.PHV+"SweepLoadFanout.PROC",1)
time.sleep(1)
print("check KE_array ")
def _spectra_BabySwept(self, KEcenter):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment