Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triage HASP nb to fix missing ref files #317

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading