Skip to content

Commit

Permalink
Merge pull request #145 from carlgogo/master
Browse files Browse the repository at this point in the history
Updated recentering tests and SPHERE_satspots_centered file (1mb -> 95kb)
  • Loading branch information
carlos-gg authored Mar 15, 2018
2 parents 53df7e2 + 6725bb4 commit 8df8d79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file modified tests/SPHERE_satspots_centered.fits
Binary file not shown.
3 changes: 1 addition & 2 deletions tests/test_center.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
cube_recenter_satspots, frame_shift)
from sklearn.metrics import mean_squared_error


try:
from IPython.core.display import display, HTML
def html(s):
Expand Down Expand Up @@ -336,7 +335,7 @@ def test_satspots_image(debug=False):
randay = np.random.uniform(-1, 1, size=n_frames)

#===== recenter
spotcoords = [(222, 290), (290, 290), (222, 222), (290, 222)] # NW NE SW SE
spotcoords = [(41, 109), (109, 109), (41, 41), (109, 41)] # NW NE SW SE
method_args = dict(xy=spotcoords, subim_size=25, plot=False, verbose=False)
do_recenter(method, cube, randax, randay, errormsg=errormsg, debug=debug,
**method_args)
Expand Down

0 comments on commit 8df8d79

Please sign in to comment.