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

outfile option doesn't work properly for the calc_datacube function #5

Open
obi-wan76 opened this issue Nov 7, 2024 · 2 comments · May be fixed by spacetelescope/poppy#646
Open

outfile option doesn't work properly for the calc_datacube function #5

obi-wan76 opened this issue Nov 7, 2024 · 2 comments · May be fixed by spacetelescope/poppy#646
Assignees

Comments

@obi-wan76
Copy link
Collaborator

The outfile doesn't save the results from the calc_datacube function as a cube but as a PSF map. This comes from a Webbpsf helpdesk ticket by Matilde Mingozzi , INC0205772.
In the meantime users can save the correct file with the write method outside calc_datacube. E.g., :

cube = miri.calc_datacube(waves)
cube.write('filename.fits')
@obi-wan76 obi-wan76 self-assigned this Nov 7, 2024
@mperrin
Copy link
Collaborator

mperrin commented Dec 6, 2024

@BradleySappington FYI I just re-noticed this webbpsf issue, which is actually a poppy issue. I'll make another tiny PR to get this one too, momentarily

@BradleySappington
Copy link
Collaborator

thank you!

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

Successfully merging a pull request may close this issue.

3 participants