Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmosphere save phase screens not working #107

Open
fanpeng-kong opened this issue Mar 31, 2020 · 1 comment
Open

Atmosphere save phase screens not working #107

fanpeng-kong opened this issue Mar 31, 2020 · 1 comment

Comments

@fanpeng-kong
Copy link

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:

hdu = fits.PrimaryHDU(self.wholeScrns[scrn])

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?

@andrewpaulreeves
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants