Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Jun 5, 2023
1 parent fdea203 commit 34999c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eazy/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def hdu_cutout_figure(id_i):

ix = np.where(self.df['id'] == id_i)[0]
ri, di = self.df['ra'][ix], self.df['dec'][ix]
xi, yi = np.squeeze(cutout_wcs.all_world2pix([ri], [di], 0))
xi, yi = np.squeeze(self.cutout_wcs.all_world2pix([ri], [di], 0))
xp = int(np.round(xi))
yp = int(np.round(yi))
slx = slice(xp-cutout_size,xp+cutout_size+1)
Expand Down

0 comments on commit 34999c6

Please sign in to comment.