Browse Source

Remove unused code for matlab interface

tags/v0.3
jan 4 years ago
parent
commit
caf51d72ba
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      float_raster.py

+ 0
- 3
float_raster.py View File

@@ -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…
Cancel
Save