From 41a9394c9ef676e760638d5a11505b02d23c382b Mon Sep 17 00:00:00 2001 From: CosmoMatt Date: Mon, 17 Jun 2024 17:07:14 +0100 Subject: [PATCH] update collab data link in notebooks --- notebooks/auto_compression.ipynb | 5 +++-- notebooks/auto_generation.ipynb | 3 ++- notebooks/manual_compression.ipynb | 5 +++-- notebooks/manual_generation.ipynb | 9 +++++---- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/notebooks/auto_compression.ipynb b/notebooks/auto_compression.ipynb index da4c741..2b67119 100644 --- a/notebooks/auto_compression.ipynb +++ b/notebooks/auto_compression.ipynb @@ -54,7 +54,8 @@ "# Install s2fft and data if running on google colab.\n", "if IN_COLAB:\n", " !pip install s2scat &> /dev/null\n", - " !mkdir data/\n" + " !mkdir data/\n", + " !wget https://github.com/astro-informatics/s2scat/tree/main/notebooks/data/target_map_lss.npy -P data/ &> /dev/null\n" ] }, { @@ -321,7 +322,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.10.0" }, "orig_nbformat": 4, "vscode": { diff --git a/notebooks/auto_generation.ipynb b/notebooks/auto_generation.ipynb index 9f55f93..3fd5790 100644 --- a/notebooks/auto_generation.ipynb +++ b/notebooks/auto_generation.ipynb @@ -48,7 +48,8 @@ "# Install s2fft and data if running on google colab.\n", "if IN_COLAB:\n", " !pip install s2scat &> /dev/null\n", - " !mkdir data/" + " !mkdir data/\n", + " !wget https://github.com/astro-informatics/s2scat/tree/main/notebooks/data/target_map_lss.npy -P data/ &> /dev/null" ] }, { diff --git a/notebooks/manual_compression.ipynb b/notebooks/manual_compression.ipynb index 5738348..5515745 100644 --- a/notebooks/manual_compression.ipynb +++ b/notebooks/manual_compression.ipynb @@ -54,7 +54,8 @@ "# Install s2fft and data if running on google colab.\n", "if IN_COLAB:\n", " !pip install s2scat &> /dev/null\n", - " !mkdir data/\n" + " !mkdir data/\n", + " !wget https://github.com/astro-informatics/s2scat/tree/main/notebooks/data/target_map_lss.npy -P data/ &> /dev/null\n" ] }, { @@ -288,7 +289,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.10.0" }, "orig_nbformat": 4, "vscode": { diff --git a/notebooks/manual_generation.ipynb b/notebooks/manual_generation.ipynb index cae8872..2bd390a 100644 --- a/notebooks/manual_generation.ipynb +++ b/notebooks/manual_generation.ipynb @@ -48,7 +48,8 @@ "# Install s2fft and data if running on google colab.\n", "if IN_COLAB:\n", " !pip install s2scat &> /dev/null\n", - " !mkdir data/" + " !mkdir data/\n", + " !wget https://github.com/astro-informatics/s2scat/tree/main/notebooks/data/target_map_lss.npy -P data/ &> /dev/null" ] }, { @@ -238,7 +239,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.11.0 64-bit ('s2scat')", + "display_name": "Python 3.10.0 ('s2fft')", "language": "python", "name": "python3" }, @@ -252,12 +253,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.0" + "version": "3.10.0" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "29bac9ffda43450bc3af04af8c210d0c64d213e4c5a5e47d195190fdaa889edd" + "hash": "3425e24474cbe920550266ea26b478634978cc419579f9dbcf479231067df6a3" } } },