Remove unused code for matlab interface
This commit is contained in:
parent
12fdc5401e
commit
caf51d72ba
1 changed files with 0 additions and 3 deletions
|
|
@ -134,9 +134,6 @@ def raster(poly_xy: numpy.ndarray,
|
|||
|
||||
# If the shape fell completely outside our area, just return a blank grid
|
||||
if poly_xy_xy.size == 0:
|
||||
# for matlab:
|
||||
# rg = array.array('d', numpy.nditer(zeros(num_xy_px), order='F'))
|
||||
# return rg
|
||||
return zeros(num_xy_px)
|
||||
|
||||
# ## Calculate area, cover
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue