From 8e32a66a4459663b0105136389fad261ebef9682 Mon Sep 17 00:00:00 2001 From: "Adam Ginsburg (keflavich)" Date: Fri, 31 May 2024 17:31:56 -0400 Subject: [PATCH] pip install reqs in all notebooks --- DameCube.ipynb | 10 ++++++++++ DiskPVExample.ipynb | 10 ++++++++++ PVDiagramPlotting.ipynb | 10 ++++++++++ SpectralCubeReprojectExample.ipynb | 10 ++++++++++ SpectralCubeReprojectMaskExample_v3.ipynb | 10 ++++++++++ SpectralCubeReprojectMaskExample_v4p1.ipynb | 10 ++++++++++ SpectralCube_Examples.ipynb | 10 ++++++++++ 7 files changed, 70 insertions(+) diff --git a/DameCube.ipynb b/DameCube.ipynb index 14c16c7..64ca9c3 100644 --- a/DameCube.ipynb +++ b/DameCube.ipynb @@ -14,6 +14,16 @@ "The key result is in [Dame & Thaddeus (2008)](https://ui.adsabs.harvard.edu/abs/2008ApJ...683L.143D/abstract)." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/DiskPVExample.ipynb b/DiskPVExample.ipynb index e980cef..4e0e6ab 100644 --- a/DiskPVExample.ipynb +++ b/DiskPVExample.ipynb @@ -33,6 +33,16 @@ "!pip install --upgrade spectral-cube git+https://github.com/radio-astro-tools/pvextractor.git@61e118aaf28e2d746deeccf06af8fdd7f405b815 radio-beam regions reproject" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/PVDiagramPlotting.ipynb b/PVDiagramPlotting.ipynb index 0430ac5..0a9929b 100644 --- a/PVDiagramPlotting.ipynb +++ b/PVDiagramPlotting.ipynb @@ -32,6 +32,16 @@ "We import tools from several packages up front:" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/SpectralCubeReprojectExample.ipynb b/SpectralCubeReprojectExample.ipynb index c80f82e..3ceaccc 100644 --- a/SpectralCubeReprojectExample.ipynb +++ b/SpectralCubeReprojectExample.ipynb @@ -50,6 +50,16 @@ "(you might not have to do this step, since you may already have data)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/SpectralCubeReprojectMaskExample_v3.ipynb b/SpectralCubeReprojectMaskExample_v3.ipynb index e7cf0e7..3150135 100644 --- a/SpectralCubeReprojectMaskExample_v3.ipynb +++ b/SpectralCubeReprojectMaskExample_v3.ipynb @@ -37,6 +37,16 @@ "(you might not have to do this step, since you may already have data)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": 1, diff --git a/SpectralCubeReprojectMaskExample_v4p1.ipynb b/SpectralCubeReprojectMaskExample_v4p1.ipynb index 8c372d9..a807189 100644 --- a/SpectralCubeReprojectMaskExample_v4p1.ipynb +++ b/SpectralCubeReprojectMaskExample_v4p1.ipynb @@ -42,6 +42,16 @@ "## Step 0: Some imports and version checks" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/SpectralCube_Examples.ipynb b/SpectralCube_Examples.ipynb index 3820f69..32e26e0 100644 --- a/SpectralCube_Examples.ipynb +++ b/SpectralCube_Examples.ipynb @@ -11,6 +11,16 @@ "This is a quick demo of how you can work with Spectral Cube objects" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "", + "metadata": {}, + "outputs": [], + "source": [ + "%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt" + ] + }, { "cell_type": "code", "execution_count": 1,