mperrin / webbpsf

James Webb Space Telescope PSF simulation tool - NOTE THIS VERSION OF REPO IS SUPERCEDED BY spacetelescope/webbpsf
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

Fixed how copying HDU 0 to 2 was done due to missing keywords #215

Closed shanosborne closed 6 years ago

shanosborne commented 6 years ago

Should solve the problem of Issue #213 "For distortion code, copying HDU 0 to HDU 2 needs to update some keywords." Fixed by including the header as well as the data when creating the new ImageHDU object