Skip to content

Commit

Permalink
WIP np2.0 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tapastro authored and braingram committed Sep 17, 2024
1 parent be36c54 commit 61f372c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion jwst/coron/imageregistration.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def align_fourierLSQ(reference, target, mask=None):

init_pars = [0., 0., 1.]
results, _ = optimize.leastsq(shift_subtract, init_pars,
args=(reference, target, mask))
args=(reference, target, mask),
xtol=1E-8, ftol=1E-8)

return results


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"crds>=11.17.14",
"drizzle>=1.15.0",
"gwcs>=0.21.0,<0.23.0",
"numpy>=1.22,<2.0",
"numpy>=1.22",
"opencv-python-headless>=4.6.0.66",
"photutils>=1.5.0",
"psutil>=5.7.2",
Expand Down

0 comments on commit 61f372c

Please sign in to comment.