spacetelescope / hst_notebooks

Generated Notebooks HTML
https://spacetelescope.github.io/hst_notebooks/
BSD 3-Clause "New" or "Revised" License
11 stars 16 forks source link

Drizzlepac notebook debug and fix : Drizzle_wfpc2 and Sky_matching #78

Closed kyhuynh108 closed 12 months ago

kyhuynh108 commented 1 year ago

Drizzlepac notebook fix to two notebooks: Drizzle_wfpc2 and sky_matching.

Drizzle_wfpc2: resolved "CalledProcessError". fixed a couple of syntax errors that stems from new updates to AstroDrizzle. Added a section that made the DQ array for the simulated fits, because Astrodrizzle could not run the simulated files without a DQ array.

Sky_Matching:

Tweakreg cell: current parameters had trouble finding stars to match. I changed the parameters and added a couple to help find matches between images.

tweakback cell: changed drz_files; was calling the single files too, should only call the *0_drz.files. Also changed the input as the input has to be f + ‘[sci,1]’ to grab the header from the sci header changed tweakback.tweakback to tweakback.apply_tweak, and added the correct parameters for it to work.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

kyhuynh108 commented 1 year ago

The edits to the exclude lists for sky_matching has been addressed.