Skip to content

Commit

Permalink
update v2 post
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Mar 1, 2024
1 parent bf552da commit 684bd86
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion _incoming/test-post.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
9 changes: 3 additions & 6 deletions _posts/2024-03-01-nirspec-extractions-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
16 changes: 4 additions & 12 deletions assets/post_files/2024-03-01-nirspec-extractions-v2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
]
},
{
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 684bd86

Please sign in to comment.