soapy icon indicating copy to clipboard operation
soapy copied to clipboard

Atmosphere save phase screens not working

Open fanpeng-kong opened this issue 5 years ago • 1 comments

Hi,

I am trying to save the phase screens generated from a configuration file but got a key error while calling the atmosphere.saveScrns(DIR) method:

https://github.com/AOtools/soapy/blob/5e0ba74a9bfb04db1c657852848c7ac4f2958f2f/soapy/atmosphere.py#L268

The idea is to load these phase screens later for simulation so I know the correspondence of the measured WFS frames, slopes etc.

Alternatively, is there a way to specify to save the generated phase screens just like saveSlpes and saveWfsFrames parameters in the configuration file?

fanpeng-kong avatar Mar 31 '20 03:03 fanpeng-kong

Hi @fanpeng-kong

Interesting.... I'll try and take a look in the next couple of days. There isn't currently a flag to save the phase screens but that sounds like a great idea to implement for a future release.

andrewpaulreeves avatar Mar 31 '20 13:03 andrewpaulreeves