Skip to content

Commit 1c40831

Browse files
committed
Fixed flux assignment in tilt_correction.py to ensure proper handling of unit-aware array values.
1 parent 25bced2 commit 1c40831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specreduce/tilt_correction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def rectify(
391391
# necessary.
392392
ip = _ImageParser()
393393
im = ip._parse_image(flux, disp_axis=self.disp_axis, mask_treatment=self.mask_treatment)
394-
flux = im.flux
394+
flux = im.flux.value
395395

396396
ny, nx = flux.data.shape
397397
ypix = np.arange(ny)

0 commit comments

Comments
 (0)