Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JP-3737: Handle micrometeorite flashes v2 #9253

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jwst/jump/jump_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class JumpStep(Step):
minimum_groups = integer(default=3) # The minimum number of groups to perform jump detection using sigma clipping
minimum_sigclip_groups = integer(default=100) # The minimum number of groups to switch to sigma clipping
only_use_ints = boolean(default=True) # In sigclip only compare the same group across ints, if False compare all groups
mmflashfrac = float(default=1.0) # Fraction of array with jump to trigger flagging entire array as jump
""" # noqa: E501

reference_file_types = ["gain", "readnoise"]
Expand Down Expand Up @@ -224,5 +225,6 @@ def _setup_jump_data(self, result):
jump_data.mask_persist_grps_next_int = self.mask_snowball_core_next_int
jump_data.persist_grps_flagged = int(self.snowball_time_masked_next_int // gtime)
jump_data.max_shower_amplitude = jump_data.max_shower_amplitude * gtime
jump_data.mmflashfrac = self.mmflashfrac

return jump_data
Loading