Skip to content

Commit

Permalink
can toggle afc to turn off during acquisition
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Jun 12, 2017
1 parent d7c5c06 commit eeddbcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MosaicImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ def get_central_region(self,cutout,dim):
'''
cut_height = cutout.shape[0]-dim
cut_width = cutout.shape[1]-dim
top_pix = np.floor(cut_height/2.0)
left_pix = np.floor(cut_width/2.0)
top_pix = np.int(np.floor(cut_height/2.0))
left_pix = np.int(np.floor(cut_width/2.0))
cutout_central = cutout[top_pix:top_pix+dim,left_pix:left_pix+dim]
return cutout_central

Expand Down

0 comments on commit eeddbcc

Please sign in to comment.