soapy
soapy copied to clipboard
`saveSciRes: True` does not work anymore
It looks like the recording of the residual wavefront does not work anymore, I believe since the introduction of the "line of sight" object. See the error message below:
Traceback (most recent call last):
File "/Users/jwoillez/Library/Python/3.6/lib/python/site-packages/soapy-v0.13.1_245_ge072290-py3.6.egg/soapy/gui.py", line 722, in run
self.sim.aoloop()
File "/Users/jwoillez/Library/Python/3.6/lib/python/site-packages/soapy-v0.13.1_245_ge072290-py3.6.egg/soapy/simulation.py", line 573, in aoloop
self.loopFrame()
File "/Users/jwoillez/Library/Python/3.6/lib/python/site-packages/soapy-v0.13.1_245_ge072290-py3.6.egg/soapy/simulation.py", line 552, in loopFrame
self.storeData(self.iters)
File "/Users/jwoillez/Library/Python/3.6/lib/python/site-packages/soapy-v0.13.1_245_ge072290-py3.6.egg/soapy/simulation.py", line 773, in storeData
self.sciPhase[sci][i] = self.sciCams[sci].residual
AttributeError: 'PSF' object has no attribute 'residual'