Skip to content

Commit

Permalink
Pass proper dq array
Browse files Browse the repository at this point in the history
  • Loading branch information
drlaw1558 committed Feb 4, 2025
1 parent 31fb509 commit dc18e7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jwst/straylight/tests/test_straylight.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ def test_clean_showers():
point[614, 604] = 1
gauss = Gaussian2DKernel(x_stddev=18, y_stddev=18)
input_model.data = convolve_fft(point, gauss)
input_model.dq = np.zeros((1024,1032), dtype='>i4')

class TestShower:
pass

# Set parameter like real step, but without rejection since we have no noise
# Set parameters like real step, but without rejection since we have no noise
params = TestShower()
params.shower_plane = 0
params.shower_low_reject = 0
Expand Down

0 comments on commit dc18e7e

Please sign in to comment.