Skip to content

Commit

Permalink
Update PSF fitting defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
schlafly committed Oct 12, 2023
1 parent e835fdb commit 42bb5a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions romancal/lib/psf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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]_.
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 42bb5a1

Please sign in to comment.