15 lines
281 B
Python
15 lines
281 B
Python
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)
|
|
|