diff --git a/notebooks/ifu_optimal/ifu_optimal.ipynb b/notebooks/ifu_optimal/ifu_optimal.ipynb index f2cb97105..8b60f9c26 100644 --- a/notebooks/ifu_optimal/ifu_optimal.ipynb +++ b/notebooks/ifu_optimal/ifu_optimal.ipynb @@ -34,7 +34,6 @@ "* _scipy_ for gaussian smoothing\n", "* _specutils_ for Spectrum1D data model\n", "* _jdaviz_ : Cubeviz data visualization tool\n", - "* _regions_ to read DS9 regions\n", "* _photutils_ to define circular apertures\n", "* _astropy.io_ for reading and writing FITS cubes and images\n", "* _astropy.wcs, units, coordinates_ for defining and reading WCS\n", @@ -50,23 +49,13 @@ "outputs": [], "source": [ "import time\n", - "\n", "import numpy as np\n", - "\n", "import scipy\n", - "\n", - "import specutils\n", "from specutils import Spectrum1D\n", - "\n", "from jdaviz import Cubeviz\n", - "\n", - "from regions import CircleSkyRegion\n", - "\n", - "from photutils import CircularAperture, SkyCircularAperture, aperture_photometry \n", - "\n", + "from photutils import CircularAperture, aperture_photometry \n", "from astropy.io import fits\n", "from astropy import wcs\n", - "import astropy.units as u\n", "from astropy.stats import sigma_clip\n", "from astropy.utils.data import download_file" ] @@ -88,7 +77,7 @@ "source": [ "## Introduction\n", "\n", - "This notebook illustrates various extraction methods for a point source in JWST NIRSpec IFU data. First we\n", + " This notebook illustrates various extraction methods for a point source in JWST NIRSpec IFU data. First we\n", "demonstrate a number of regular extraction techniques, including subset extraction with Cubeviz, simple sum over spaxels, cylindrical aperture, and conical aperture photometry. Then we compare optimal extraction using a WebbPSF model PSF to optimal extraction using a reference star PSF. \n" ] }, @@ -178,9 +167,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "scrolled": false - }, + "metadata": {}, "outputs": [], "source": [ "cubeviz = Cubeviz()\n", @@ -839,7 +826,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/notebooks/ifu_optimal/pre-requirements.txt b/notebooks/ifu_optimal/pre-requirements.txt index 3b226b669..dc9fd9ab0 100644 --- a/notebooks/ifu_optimal/pre-requirements.txt +++ b/notebooks/ifu_optimal/pre-requirements.txt @@ -1,2 +1,2 @@ -astropy-helpers==2.0.11 +astropy-helpers>=2.0.11 diff --git a/notebooks/ifu_optimal/requirements.txt b/notebooks/ifu_optimal/requirements.txt index 716228d0b..d55116df4 100644 --- a/notebooks/ifu_optimal/requirements.txt +++ b/notebooks/ifu_optimal/requirements.txt @@ -1,17 +1,17 @@ -notebook==6.1.5 -jupyter_client==5.3.5 -numpy==1.19.2 -scipy==1.5.2 -specutils==1.1.1 -glue-astronomy==0.1 -glue-core==1.0.0 -glue-jupyter==0.2.1 -glue-vispy-viewers==1.0.1 -jdaviz==1.0.3 -git+https://github.com/astropy/regions.git -photutils==1.0.1 +notebook>=6.1.5 +jupyter_client>=5.3.5 +numpy>=1.19.2 +scipy>=1.5.2 +specutils>=1.1.1 +glue-astronomy>=0.1 +glue-core>=1.0.0 +glue-jupyter>=0.2.1 +glue-vispy-viewers>=1.0.1 +jdaviz>=1.0.3 +regions>=0.7 +photutils>=1.0.1 astropy>=4.2 -matplotlib==3.3.2 -ipyvuetify==1.6.2 -ipyvue==1.5.0 -git+https://github.com/radio-astro-tools/radio-beam.git +matplotlib>=3.3.2 +ipyvuetify>=1.6.2 +ipyvue>=1.5.0 +radio-beam>=0.3.6