Skip to content

Commit 0b21f52

Browse files
authored
Merge pull request #231 from jkrick/add_text_spherex_psf
added text about PSF
2 parents 24e86de + ba7da5d commit 0b21f52

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

tutorials/spherex/spherex_psf.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,22 @@ ax1.imshow(psf)
271271
plt.show()
272272
```
273273

274+
## 9. Using the SPHEREx PSF in Forward Modeling (e.g., Tractor)
275+
276+
The PSF returned by this notebook is oversampled relative to the native SPHEREx detector pixel grid.
277+
This is intentional: the PSF is evaluated on a fine sub-pixel grid so that it can represent different intra-pixel source positions accurately.
278+
279+
Tools such as Tractor do not expect an oversampled PSF directly.
280+
Instead, they require a PSF that is pixel-integrated at the native detector resolution and evaluated at the correct sub-pixel phase of the source.
281+
If you pass the oversampled PSF directly into Tractor without resampling, the effective PSF width and normalization will be incorrect, which can lead to systematic differences relative to the SPHEREx Spectrophotometry Tool.
282+
283+
To use this PSF for forward modeling or fitting, you must:
284+
1. Shift the oversampled PSF to the source’s sub-pixel position,
285+
2. Downsample (integrate) it onto the native SPHEREx pixel grid, and
286+
3. Normalize the resulting PSF before passing it to Tractor.
287+
288+
+++
289+
274290
## Acknowledgements
275291

276292
- [Caltech/IPAC-IRSA](https://irsa.ipac.caltech.edu/)

0 commit comments

Comments
 (0)