From b98c6f3dd05e1a64e362a8c721fb7eac460fc41c Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Wed, 27 Mar 2024 11:43:58 -0400 Subject: [PATCH] remove nonexistent named parameters --- jwst/ami/lg_model.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jwst/ami/lg_model.py b/jwst/ami/lg_model.py index 9c475d3e36..20ee86f33a 100755 --- a/jwst/ami/lg_model.py +++ b/jwst/ami/lg_model.py @@ -374,7 +374,6 @@ def fit_image( self.fov, bandpass=self.bandpass, over=self.over, - rotate=True, psf_offset=self.bestcenter, pixscale=self.pixel, ) @@ -478,9 +477,7 @@ def improve_scaling( self.pixscales[q] = self.test_pixscale psf = self.simulate( bandpass=self.bandpass, - fov=reffov, pixel=self.test_pixscale, - centering=centering, ) pixscl_corrlist[q, :, :] = run_data_correlate(img, psf) self.pixscl_corr[q] = np.max(pixscl_corrlist[q]) @@ -501,9 +498,6 @@ def improve_scaling( psf = self.simulate( bandpass=self.bandpass, fov=reffov, - pixel=self.pixscale_optimal, - rotate=rad, - centering=centering, ) corrlist[q, :, :] = run_data_correlate(psf, img) @@ -514,8 +508,6 @@ def improve_scaling( bandpass=self.bandpass, pixel=self.pixscale_factor * self.pixel, fov=reffov, - rotate=self.rot_measured, - centering=centering, ) try: