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.
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.