This commit is contained in:
14
script/test/Test2DCont.py
Normal file
14
script/test/Test2DCont.py
Normal file
@@ -0,0 +1,14 @@
|
||||
STEPS = 10
|
||||
|
||||
class Line(ReadonlyRegisterBase):
|
||||
def doRead(self):
|
||||
r1 = cscan(m1, (ai1), 0.0, 1.0 , steps=STEPS, save=False)
|
||||
return r1[ai1]
|
||||
|
||||
def getSize(self):
|
||||
return STEPS+1
|
||||
|
||||
line=Line()
|
||||
|
||||
lscan(ai2, line, 0, 10, 1.0)
|
||||
|
||||
Reference in New Issue
Block a user