-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into lastframe_codestyle
- Loading branch information
Showing
34 changed files
with
1,328 additions
and
876 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Add an additional optional step to the MIRI MRS straylight correction code to measure and remove residual cosmic ray showers using information from the inter-slice pixels. |
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,3 +1,32 @@ | ||
Step Arguments | ||
============== | ||
The ``straylight`` step has no step-specific arguments. | ||
The ``straylight`` step has the following optional arguments. | ||
|
||
``--clean_showers`` (boolean, default=False) | ||
A flag to indicate whether to remove straylight due to residual cosmic | ||
ray showers using pixels between the IFU slices. | ||
|
||
``--shower_plane`` (int, default=3) | ||
Identifies the throughput plane to use from the MRS regions reference | ||
files to identify between-slice pixels. Lower values identify pixels | ||
with less science signal, but result in fewer (or no) pixels between | ||
slices in some bands. | ||
|
||
``--shower_x_stddev`` (float, default=18) | ||
Standard deviation to use for gaussian kernel convolution in the X | ||
(between-slice) direction. Must be large enough to reach the middle | ||
of the IFU slices. | ||
|
||
``--shower_y_stddev`` (float, default=5) | ||
Standard deviation to use for gaussian kernel convolution in the Y | ||
(along-slice) direction. | ||
|
||
``--shower_low_reject`` (float, default=0.1) | ||
Percentile of low-valued pixels to reject when performing gaussian | ||
kernel convolution. Important to ensure unmasked bad pixels do | ||
not bias the kernel convolution. | ||
|
||
``--shower_high_reject`` (float, default=99.9) | ||
Percentile of high-valued pixels to reject when performing gaussian | ||
kernel convolution. Important to ensure unmasked bad pixels do | ||
not bias the kernel convolution. |
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,4 +1,6 @@ | ||
"""Self-calibration of bad pixels in JWST data.""" | ||
|
||
from .badpix_selfcal_step import BadpixSelfcalStep | ||
|
||
|
||
__all__ = ['BadpixSelfcalStep'] | ||
__all__ = ["BadpixSelfcalStep"] |
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.