Skip to content

Commit

Permalink
Get the latest ref files (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay authored Oct 11, 2024
1 parent 0a4ae95 commit f851f62
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions notebooks/HASP/WavelengthAdjustment/WavelengthAdjustment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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\"))"
]
Expand Down Expand Up @@ -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()"
]
},
{
Expand Down Expand Up @@ -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()"
]
},
{
Expand Down Expand Up @@ -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()"
]
},
{
Expand Down

0 comments on commit f851f62

Please sign in to comment.