diff --git a/tests/test_jump.py b/tests/test_jump.py index 417f9c97..5068ee95 100644 --- a/tests/test_jump.py +++ b/tests/test_jump.py @@ -10,7 +10,6 @@ point_inside_ellipse, find_last_grp ) -from astropy.io import fits DQFLAGS = {"JUMP_DET": 4, "SATURATED": 2, "DO_NOT_USE": 1, "GOOD": 0, "NO_GAIN_VALUE": 8} @@ -31,19 +30,6 @@ def _cube(ngroups, readnoise=10): return _cube -def test_slowmode(): - hdul = fits.open("miri_1264_00_jump.fits") - gain = fits.getdata("jwst_miri_gain_0026.fits") - data = hdul["sci"].data * gain - gdq = hdul["groupdq"].data - readnoise = fits.getdata("jwst_miri_readnoise_0050.fits") * gain - gdq, num_showers = find_faint_extended(data, gdq, readnoise, 1, 100, - snr_threshold=1.3, - min_shower_area=90, inner=1, - outer=2.6, sat_flag=2, jump_flag=4, - ellipse_expand=1.1, num_grps_masked=3) - fits.writeto("outgdq.fits", gdq, overwrite=True) - print("total number of showers", num_showers) def test_find_simple_ellipse(): plane = np.zeros(shape=(5, 5), dtype=np.uint8)