diff --git a/notebooks/acs_cte_forward_model_example.ipynb b/notebooks/acs_cte_forward_model_example.ipynb index 03fd6ec..7c1a272 100644 --- a/notebooks/acs_cte_forward_model_example.ipynb +++ b/notebooks/acs_cte_forward_model_example.ipynb @@ -105,7 +105,6 @@ "metadata": {}, "outputs": [], "source": [ - "%matplotlib notebook\n", "import os\n", "import shutil\n", "import glob\n", @@ -182,7 +181,7 @@ "source": [ "os.environ['CRDS_SERVER'] = 'https://hst-crds.stsci.edu'\n", "os.environ['CRDS_PATH'] = './crds_cache'\n", - "os.environ['JREF'] = './crds_cache/references/hst/acs/'\n", + "os.environ['jref'] = './crds_cache/references/hst/acs/'\n", "\n", "!crds bestrefs --update-bestrefs --sync-references=1 --files jd0q14ctq_flc.fits" ] @@ -221,13 +220,13 @@ "metadata": {}, "outputs": [], "source": [ - "# The JREF environment variable gives the directory containing the reference files\n", - "flat_hdu = fits.open('{}/{}'.format(os.environ['JREF'],flat))\n", + "# The jref environment variable gives the directory containing the reference files\n", + "flat_hdu = fits.open('{}/{}'.format(os.environ['jref'],flat))\n", "\n", "flat_wfc1 = flat_hdu[4].data\n", "flat_wfc2 = flat_hdu[1].data\n", "\n", - "dkc_hdu = fits.open('{}/{}'.format(os.environ['JREF'],dkc))\n", + "dkc_hdu = fits.open('{}/{}'.format(os.environ['jref'],dkc))\n", "\n", "dkc_wfc1 = dkc_hdu[4].data\n", "dkc_wfc2 = dkc_hdu[1].data\n", @@ -237,7 +236,7 @@ "dkc_wfc1[dkc_wfc1 < 0.] = 0.\n", "dkc_wfc2[dkc_wfc2 < 0.] = 0.\n", "\n", - "bias_hdu = fits.open('{}/{}'.format(os.environ['JREF'],bias))\n", + "bias_hdu = fits.open('{}/{}'.format(os.environ['jref'],bias))\n", "\n", "err_bias_wfc1 = bias_hdu[5].data\n", "err_bias_wfc2 = bias_hdu[2].data\n", @@ -245,7 +244,7 @@ "dq_bias_wfc1 = bias_hdu[6].data\n", "dq_bias_wfc2 = bias_hdu[3].data\n", "\n", - "# flash_dhu = fits.open('{}/{}'.format(os.environ['JREF'],flash))\n", + "# flash_dhu = fits.open('{}/{}'.format(os.environ['jref'],flash))\n", "\n", "# flash_wfc1 = flash_hdu[4].data\n", "# flash_wfc2 = flash_hdu[1].data"