Skip to content
Permalink
Browse files

Remove redundant assignments

This removes the last 2 redundant variable assignments
  • Loading branch information
gquarles committed May 28, 2019
1 parent daa03c6 commit 653255c7c148dd3c3d1f4f37e82a9ad56013b21b
Showing with 0 additions and 2 deletions.
  1. +0 −1 ehtim/image.py
  2. +0 −1 ehtim/plotting/comp_plots.py
@@ -2183,7 +2183,6 @@ def hough_ring(self, edgetype='canny',thresh=0.2, num_circles=3, radius_range=No
maxval = np.max(im.imvec)
meanval = np.mean(im.imvec)
im_norm = im.imvec / (maxval + .01*meanval)
im_norm = im_norm
im_norm = im_norm.astype('float') # is it a problem if it's double??
im_norm[np.isnan(im.imvec)] = 0 #mask nans to 0
im.imvec = im_norm
@@ -759,7 +759,6 @@ def plotall_obs_im_cphases(obs, imlist,

if display_mode=='individual':
ax=False
axislabels=axislabels
else:
ax = plt.subplot2grid((nrows,ncols), (nplot/ncols, nplot%ncols), fig=fig)
axislabels=False

0 comments on commit 653255c

Please sign in to comment.
You can’t perform that action at this time.