soapy icon indicating copy to clipboard operation
soapy copied to clipboard

`saveSciRes: True` does not work anymore

Open jwoillez opened this issue 8 years ago • 0 comments

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'

jwoillez avatar Jan 16 '18 16:01 jwoillez