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

Add copy and deepcopy methods to GriddedPSFModel #1581

Merged
merged 8 commits into from Jul 12, 2023

Conversation

larrybradley
Copy link
Member

The copy method does not copy the internal grid of PSF data. Deepcopy will make a deep copy of the entire model, including the grid of PSF data.

Fixes #1580

@larrybradley larrybradley merged commit 9dec119 into astropy:main Jul 12, 2023
17 checks passed
@larrybradley larrybradley deleted the psf-mem branch July 12, 2023 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory errors with refactored code
1 participant