diff --git a/notebooks/HASP/WavelengthAdjustment/WavelengthAdjustment.ipynb b/notebooks/HASP/WavelengthAdjustment/WavelengthAdjustment.ipynb index 29c808322..3a71ec6b9 100644 --- a/notebooks/HASP/WavelengthAdjustment/WavelengthAdjustment.ipynb +++ b/notebooks/HASP/WavelengthAdjustment/WavelengthAdjustment.ipynb @@ -127,6 +127,7 @@ "from scipy.signal import correlation_lags\n", "\n", "from scipy import optimize\n", + "from IPython.display import clear_output\n", "\n", "print(\"Currently active conda environment:\", os.environ.get(\"CONDA_PREFIX\"))" ] @@ -163,7 +164,8 @@ "lref = os.path.join(crds_path, \"references/hst/cos\")\n", "os.environ[\"lref\"] = lref\n", "\n", - "!crds sync --contexts hst_cos_0357.imap --fetch-references" + "!crds sync --contexts hst_cos_0359.imap --fetch-references\n", + "clear_output()" ] }, { @@ -1504,7 +1506,8 @@ "metadata": {}, "outputs": [], "source": [ - "!swrapper -i ./cos_ex/cos_shifted -o ./cos_ex/cos_shifted/coadd" + "!swrapper -i ./cos_ex/cos_shifted -o ./cos_ex/cos_shifted/coadd\n", + "clear_output()" ] }, { @@ -1879,7 +1882,8 @@ "oref = os.path.join(crds_path, \"references/hst/stis/\")\n", "os.environ[\"oref\"] = oref\n", "\n", - "!crds bestrefs --update-bestrefs --sync-references=1 --files ./stis_ex/stis_data/*_raw.fits" + "!crds bestrefs --update-bestrefs --sync-references=1 --files ./stis_ex/stis_data/*_raw.fits\n", + "clear_output()" ] }, {