hispecdrp.primitives.jump_detection.jump_detection_jwst

jump_detection_jwst(ramp_data, dq_raw, dq, gain=None, rdnoise=None, max_cores=1, rejection_threshold=4.0)[source]

Top-level function for running jump detection with stcal.jump.jump.detect_jumps_data

Parameters:
  • ramp_data (np.ndarray) – 3D array of the UTR data with shape n_ramps x ny x nx.

  • dq_raw (np.ndarray) – Input data quality flags for the UTR data with shape n_ramps x ny x nx.

  • dq (np.ndarray) – Input data quality flags with shape ny x nx.

  • gain (np.ndarray) – Input gain array with shape ny x nx

  • rdnoise (np.ndarray) – Input read noise array with shape ny x nx

  • rejection_threshold (float) – Sigma threshold for jump detection. Default is 4.0.