From 8e83272c857e9026038eb8c532851c7ecacafd15 Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Wed, 10 Jan 2024 22:03:14 -0500 Subject: [PATCH] Fix style errors --- ...ght_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb b/notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb index de61021b8..85d37744a 100644 --- a/notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb +++ b/notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb @@ -511,8 +511,7 @@ " final_time -= dt[index]\n", "\n", " print(f'The final exposure time after reprocessing is {final_time}.')\n", - " image_new[0].header['EXPTIME'] = final_time\n", - " image_new.flush()\n" + " image_new[0].header['EXPTIME'] = final_time" ] }, { @@ -609,9 +608,6 @@ "outputs": [], "source": [ "with fits.open(\"f140w_drz_sci.fits\") as DRZ_image, fits.open('mastDownload/HST/icqtbb020/icqtbb020_drz.fits') as Orig_DRZ:\n", - " \n", - "#with fits.open(\"f105w_drz_sci.fits\") as DRZ_image, fits.open('mastDownload/HST/icxt27020/icxt27020_drz.fits') as Orig_DRZ:\n", - "\n", "\n", " fig = plt.figure(figsize=(20, 10))\n", " rows = 1\n",