From a3611854bfdd459b9e07296c0c9fda6576c29edb Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Fri, 17 Jan 2025 12:10:37 -0500 Subject: [PATCH] Codestyle fix. --- specreduce/extract.py | 1 - 1 file changed, 1 deletion(-) diff --git a/specreduce/extract.py b/specreduce/extract.py index 599545b..1db6c06 100644 --- a/specreduce/extract.py +++ b/specreduce/extract.py @@ -457,7 +457,6 @@ def _fit_gaussian_spatial_profile(self, img: ndarray, disp_axis: int, crossdisp_ compound model, if `bkgrd_prof` is supplied) fit to data. """ nrows = img.shape[crossdisp_axis] - ncols = img.shape[disp_axis] xd_pixels = np.arange(nrows) # co-add signal in each image row, ignore masked pixels