Script execution

This commit is contained in:
gac-x03da
2023-08-15 12:19:12 +02:00
parent 4dc5473518
commit 17d0aff214

View File

@@ -35,7 +35,12 @@ sinp = SimulatedInput()
def integrate_image(vertical = True):
data = Scienta.dataArray.read()
#Integrate and plot
(width,height) = Scienta.getImageSize().tolist()
dims = Scienta.getImageSize().tolist()
if len(dims)==2:
(width,height) = dims
else:
(width,height, images) = dims
integration = []
if vertical:
for i in range(width):