-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JP-251: Optimal extraction support for MIRI LRS (#8967)
- Loading branch information
Showing
21 changed files
with
2,647 additions
and
660 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add options for PSF-based optimal extraction for point sources in MIRI LRS fixed slit exposures. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
Reference File | ||
============== | ||
The ``extract_1d`` step uses an EXTRACT1D reference file and an APCORR reference file. | ||
For most modes, the ``extract_1d`` step uses an EXTRACT1D reference file and an | ||
APCORR reference file. For optimal extraction, it additionally uses a PSF | ||
reference file. | ||
|
||
.. include:: ../references_general/extract1d_reffile.inc | ||
.. include:: ../references_general/apcorr_reffile.inc | ||
.. include:: ../references_general/psf_reffile.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.. _psf_reffile: | ||
|
||
PSF Reference File | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
:REFTYPE: PSF | ||
:Data model: `~jwst.datamodels.SpecPsfModel` | ||
|
||
The PSF reference file contains a model of the 1-D point spread function | ||
by wavelength, intended to support spectral modeling and extraction. | ||
|
||
|
||
Reference Selection Keywords for PSF | ||
++++++++++++++++++++++++++++++++++++ | ||
CRDS selects appropriate PSF references based on the following keywords. | ||
PSF is not applicable for instruments not in the table. | ||
All keywords used for file selection are *required*. | ||
|
||
========== ========================================================================= | ||
Instrument Keywords | ||
========== ========================================================================= | ||
MIRI INSTRUME, DETECTOR, FILTER, EXP_TYPE | ||
========== ========================================================================= | ||
|
||
.. include:: ../includes/standard_keywords.inc | ||
|
||
Reference File Format | ||
+++++++++++++++++++++ | ||
PSF reference files are in FITS format, with 2 IMAGE extensions. | ||
The FITS primary HDU does not contain a data array. | ||
The format and content of the file is as follows: | ||
|
||
======= ======== ===== ============== ========= | ||
EXTNAME XTENSION NAXIS Dimensions Data type | ||
======= ======== ===== ============== ========= | ||
PSF IMAGE 2 ncols x nrows float | ||
WAVE IMAGE 1 ncols float | ||
======= ======== ===== ============== ========= | ||
|
||
The values in the ``PSF`` array give relative spectral flux values by cross-dispersion | ||
position, at each dispersion element specified in the ``WAVE`` array. Detector | ||
pixels are subsampled by the amount specified in the SUBPIX keyword, and the PSF | ||
is centered on the cross-dispersion element specified in either CENTCOL (for vertical | ||
dispersion) or CENTROW (for horizontal dispersion). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.