Remove unused code for matlab interface
This commit is contained in:
parent
12fdc5401e
commit
caf51d72ba
@ -134,9 +134,6 @@ def raster(poly_xy: numpy.ndarray,
|
|||||||
|
|
||||||
# If the shape fell completely outside our area, just return a blank grid
|
# If the shape fell completely outside our area, just return a blank grid
|
||||||
if poly_xy_xy.size == 0:
|
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)
|
return zeros(num_xy_px)
|
||||||
|
|
||||||
# ## Calculate area, cover
|
# ## Calculate area, cover
|
||||||
|
Loading…
Reference in New Issue
Block a user