This commit is contained in:
2018-04-17 12:05:48 +02:00
parent 14edc0e745
commit 58a1260003
428 changed files with 41350 additions and 477 deletions

21
script/test/test37.py Executable file
View File

@@ -0,0 +1,21 @@
tutorial_path = "src/main/assembly/help/Tutorial/"
run(tutorial_path+"00_devices")
class ArrayCalibrated(ReadableArray, ReadableCalibratedArray):
def read(self):
return wf1.read()
def getSize(self):
return wf1.size
def getCalibration(self):
return ArrayCalibration(5,1000)
ac1 = ArrayCalibrated()
#The data window never displays 3d data, but the 3d data can be accesses during the scan in the Data tab.
ascan((m1,m2), (ac1, wf1), (0.0,0.0), (2.0,1.0), (19,19))