original_docstring:  returns pixels of disk with radius r and center med 
docstring: returns pixels of disk with radius r and center med
docstring_tokens: returns pixels of disk with radius r and center med
code: def disk(med, r, Ly, Lx):
      """ returns pixels of disk with radius r and center med """
      yy, xx = np.meshgrid(np.arange(0,Ly,1,int), np.arange(0,Lx,1,int),
                           indexing='ij')
      inds = ((yy-med[0])**2 + (xx-med[1])**2)**0.5 <= r
      y = yy[inds].flatten()
      x = xx[inds].flatten()
      return y,x
code_tokens: def disk ( med , r , Ly , Lx ) : yy , xx = np . meshgrid ( np . arange ( 0 , Ly , 1 , int ) , np . arange ( 0 , Lx , 1 , int ) , indexing = 'ij' ) inds = ( ( yy - med [ 0 ] ) ** 2 + ( xx - med [ 1 ] ) ** 2 ) ** 0.5 <= r y = yy [ inds ] . flatten ( ) x = xx [ inds ] . flatten ( ) return y , x
short_docstring: returns pixels of disk with radius r and center med
short_docstring_tokens: returns pixels of disk with radius r and center med
comment: """ returns pixels of disk with radius r and center med """