diff --git a/notebooks/NIRSpec/galaxy_redshift/redshift_fitting.ipynb b/notebooks/NIRSpec/galaxy_redshift/redshift_fitting.ipynb index a69ba9c85..56b601362 100644 --- a/notebooks/NIRSpec/galaxy_redshift/redshift_fitting.ipynb +++ b/notebooks/NIRSpec/galaxy_redshift/redshift_fitting.ipynb @@ -1,12 +1,18 @@ { "cells": [ + { + "cell_type": "markdown", + "id": "e5f5559e-f4b3-4118-b3ec-930b787faad9", + "metadata": {}, + "source": [ + "# Redshift and Template Fitting" + ] + }, { "cell_type": "markdown", "id": "e6c242e1", "metadata": {}, "source": [ - "# Redshift and Template Fitting\n", - "\n", "This notebook covers basic examples on how a user can measure the redshift of a source using the visualization tool [Jdaviz](https://jdaviz.readthedocs.io/en/latest/) or programmatically with [Specutils](https://specutils.readthedocs.io/en/latest/).\n", "\n", "**Use case:** measure the redshift of a galaxy from its spectrum using 2 different methods. \n", @@ -27,7 +33,7 @@ " - [Run the cross correlation function](#run_crosscorr)\n", "\n", "**Author**: Camilla Pacifici (cpacifici@stsci.edu)
\n", - "**Updated**: September 14, 2023" + "**Updated**: November 18, 2024" ] }, { @@ -174,7 +180,7 @@ "# Select a specific directory on your machine or a temporary directory\n", "data_dir = tempfile.gettempdir()\n", "# Get the file from MAST\n", - "fn = \"jw02736-o007_s09239_nirspec_f170lp-g235m_x1d.fits\"\n", + "fn = \"jw02736-o007_s000009239_nirspec_f170lp-g235m_x1d.fits\"\n", "result = Observations.download_file(f\"mast:JWST/product/{fn}\", local_path=f'{data_dir}/{fn}')\n", "\n", "fn_template = download_file('https://stsci.box.com/shared/static/3rkurzwl0l79j70ddemxafhpln7ljle7.dat', cache=True)" @@ -656,7 +662,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.13" + "version": "3.11.10" } }, "nbformat": 4, diff --git a/notebooks/NIRSpec/galaxy_redshift/requirements.txt b/notebooks/NIRSpec/galaxy_redshift/requirements.txt index 0f29b127b..5bf98c8dd 100644 --- a/notebooks/NIRSpec/galaxy_redshift/requirements.txt +++ b/notebooks/NIRSpec/galaxy_redshift/requirements.txt @@ -1 +1 @@ -jdaviz +jdaviz>=4.0