Script execution
This commit is contained in:
@@ -49,7 +49,7 @@ class ImageIntegrator(ReadableCalibratedArray):
|
||||
def read(self):
|
||||
return to_array(integrate_image(),'d')
|
||||
|
||||
def getCalibration():
|
||||
def getCalibration(self):
|
||||
return ArrayCalibration(0.1, -2.0)
|
||||
|
||||
Integration = ImageIntegrator()
|
||||
@@ -63,7 +63,7 @@ class ImageAngleDistribution(ReadableCalibratedArray):
|
||||
def read(self):
|
||||
return to_array(integrate_image(False),'d')
|
||||
|
||||
def getCalibration():
|
||||
def getCalibration(self):
|
||||
return ArrayCalibration(0.1, -2.0)
|
||||
|
||||
AngleDistribution = ImageAngleDistribution()
|
||||
|
||||
Reference in New Issue
Block a user