From 42bb5a1440960635048ec5a161699dbf7c430dce Mon Sep 17 00:00:00 2001 From: Eddie Schlafly Date: Thu, 12 Oct 2023 09:39:21 -0400 Subject: [PATCH] Update PSF fitting defaults. --- romancal/lib/psf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/romancal/lib/psf.py b/romancal/lib/psf.py index bd2ca74b3..d93e2d845 100644 --- a/romancal/lib/psf.py +++ b/romancal/lib/psf.py @@ -58,7 +58,7 @@ def create_gridded_psf_model( path_prefix, filt, detector, - oversample=12, + oversample=11, fov_pixels=12, sqrt_n_psfs=4, overwrite=False, @@ -82,7 +82,8 @@ def create_gridded_psf_model( Computed gridded PSF model for this SCA. Examples include: `"SCA01"` or `"SCA18"`. oversample : int, optional - Oversample factor, default is 12. See WebbPSF docs for details [1]_. + Oversample factor, default is 11. See WebbPSF docs for details [1]_. + Choosing an odd number makes the pixel convolution more accurate. fov_pixels : int, optional Field of view width [pixels]. Default is 12. See WebbPSF docs for details [1]_. @@ -160,7 +161,6 @@ def create_gridded_psf_model( filter_name=filt, detectors=detector.upper(), num_psfs=n_psfs, - monochromatic=central_wavelength_meters, oversample=oversample, fov_pixels=fov_pixels, add_distortion=False,