From c959c465f60be378726c80cd0b931ea9eeeff430 Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Tue, 17 Oct 2023 16:17:06 -0400 Subject: [PATCH] Fix last two style errors --- .../NIRISS_WFSS_postpipeline/00_Optimal_extraction.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/NIRISS_WFSS_postpipeline/00_Optimal_extraction.ipynb b/notebooks/NIRISS_WFSS_postpipeline/00_Optimal_extraction.ipynb index 6b9f4a245..7f0c242c9 100755 --- a/notebooks/NIRISS_WFSS_postpipeline/00_Optimal_extraction.ipynb +++ b/notebooks/NIRISS_WFSS_postpipeline/00_Optimal_extraction.ipynb @@ -583,7 +583,7 @@ " lsf : light profile. \n", " '''\n", " \n", - " #for ii in range(len(sci[0, :])):\n", + " # for ii in range(len(sci[0, :])):\n", " # lsf[ii] = np.mean(sci_rot[int(height/2.-5):int(height/2.+5), ii])\n", " # xsf[ii] = ii - len(lsf)/2.\n", "\n", @@ -691,7 +691,7 @@ " plt.show()\n", "\n", " # Re-extract 2d image;\n", - " #if ndither == 0:\n", + " # if ndither == 0:\n", " rsq = y2d\n", " sci_cut = data[int(ycen-rsq/2.+0.5):int(ycen+rsq/2.+0.5), int(xcen-rsq/2.+0.5):int(xcen+rsq/2.+0.5)]\n", " seg_cut = segdata[int(ycen-rsq/2.+0.5):int(ycen+rsq/2.+0.5), int(xcen-rsq/2.+0.5):int(xcen+rsq/2.+0.5)]\n",