From 684bd86e4d22870feda4269781f17a330bb5025b Mon Sep 17 00:00:00 2001 From: Gabriel Brammer Date: Fri, 1 Mar 2024 14:43:24 +0100 Subject: [PATCH] update v2 post --- _incoming/test-post.ipynb | 2 +- _posts/2024-03-01-nirspec-extractions-v2.md | 9 +++------ .../2024-03-01-nirspec-extractions-v2.ipynb | 16 ++++------------ 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/_incoming/test-post.ipynb b/_incoming/test-post.ipynb index 9e07246..ffc0185 100644 --- a/_incoming/test-post.ipynb +++ b/_incoming/test-post.ipynb @@ -109,7 +109,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.10.13" } }, "nbformat": 4, diff --git a/_posts/2024-03-01-nirspec-extractions-v2.md b/_posts/2024-03-01-nirspec-extractions-v2.md index be8b7f0..158be61 100644 --- a/_posts/2024-03-01-nirspec-extractions-v2.md +++ b/_posts/2024-03-01-nirspec-extractions-v2.md @@ -29,11 +29,11 @@ The redshift quality grades have been copied from those of the previous release ## Note -The `v2` spectra are affected by a bug that causes the uncertainties in the derived products to be too large by roughly a factor of ``Nexp**(1/4)``, i.e., most significantly affecting the deep programs. For more information, see [msaexp PR#54](https://github.com/gbrammer/msaexp/pull/54). +The `v2` spectra are affected by a bug that causes the uncertainties in the derived products to be too large by roughly a factor of $f=N^{1/4}$, where $N$ is the number of combined exposures grouped by ``source_name / detector / grating / filter / MSA plan``. For a simple set of three exposures with the 3-Shutter-Nod dither pattern, $f=3^{1/4}\sim1.3$, i.e., the tabulated uncertainties are roughly $1.3\times$ too large. The effect of the bug is larger for deeper programs; for typical UNCOVER extractions $f=18^{1/4}\sim2$. For more information, see [msaexp PR#54](https://github.com/gbrammer/msaexp/pull/54). ## Observing programs -| Program | DJA root | n | grating | +| Program | DJA root | N | Grating | |:---------------------------------------------------------------------------------|:-----------------------|-----:|:-------------| | [2756](https://www.stsci.edu/cgi-bin/get-proposal-info?id=2756&observatory=JWST) | abell2744-ddt-v2 | 118 | PRISM-CLEAR | | [1810](https://www.stsci.edu/cgi-bin/get-proposal-info?id=1810&observatory=JWST) | bluejay-north-v2 | 519 | G140M-F100LP | @@ -100,7 +100,7 @@ The `v2` spectra are affected by a bug that causes the uncertainties in the deri ```python import os -if os.path.exists('gbrammer' in os.environ['HOME']): +if os.path.exists('gbrammer' in os.environ['HOME']) & False: # Extract summary from database from grizli.aws import db @@ -126,9 +126,6 @@ if os.path.exists('gbrammer' in os.environ['HOME']): nre['Program','DJA root','n','grating'].to_pandas(index=False).to_markdown(index=False)) ``` - Set ROOT_PATH=/Users/gbrammer/Documents/Sites/dja-web-master/_incoming - - ```python %matplotlib inline diff --git a/assets/post_files/2024-03-01-nirspec-extractions-v2.ipynb b/assets/post_files/2024-03-01-nirspec-extractions-v2.ipynb index 746c605..fd192a3 100644 --- a/assets/post_files/2024-03-01-nirspec-extractions-v2.ipynb +++ b/assets/post_files/2024-03-01-nirspec-extractions-v2.ipynb @@ -41,7 +41,7 @@ "\n", "## Note\n", "\n", - "The `v2` spectra are affected by a bug that causes the uncertainties in the derived products to be too large by roughly a factor of ``Nexp**(1/4)``, i.e., most significantly affecting the deep programs. For more information, see [msaexp PR#54](https://github.com/gbrammer/msaexp/pull/54)." + "The `v2` spectra are affected by a bug that causes the uncertainties in the derived products to be too large by roughly a factor of $f=N^{1/4}$, where $N$ is the number of combined exposures grouped by ``source_name / detector / grating / filter / MSA plan``. For a simple set of three exposures with the 3-Shutter-Nod dither pattern, $f=3^{1/4}\\sim1.3$, i.e., the tabulated uncertainties are roughly $1.3\\times$ too large. The effect of the bug is larger for deeper programs; for typical UNCOVER extractions $f=18^{1/4}\\sim2$. For more information, see [msaexp PR#54](https://github.com/gbrammer/msaexp/pull/54)." ] }, { @@ -50,7 +50,7 @@ "source": [ "## Observing programs\n", "\n", - "| Program | DJA root | n | grating |\n", + "| Program | DJA root | N | Grating |\n", "|:---------------------------------------------------------------------------------|:-----------------------|-----:|:-------------|\n", "| [2756](https://www.stsci.edu/cgi-bin/get-proposal-info?id=2756&observatory=JWST) | abell2744-ddt-v2 | 118 | PRISM-CLEAR |\n", "| [1810](https://www.stsci.edu/cgi-bin/get-proposal-info?id=1810&observatory=JWST) | bluejay-north-v2 | 519 | G140M-F100LP |\n", @@ -119,18 +119,10 @@ "cell_type": "code", "execution_count": 1, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Set ROOT_PATH=/Users/gbrammer/Documents/Sites/dja-web-master/_incoming\n" - ] - } - ], + "outputs": [], "source": [ "import os\n", - "if os.path.exists('gbrammer' in os.environ['HOME']):\n", + "if os.path.exists('gbrammer' in os.environ['HOME']) & False:\n", " \n", " # Extract summary from database\n", " from grizli.aws import db\n",