def get_pixel_grid(self): print "get_pixel_grid" n_points = numpy.uint32(self.shape) grid = grid_from_box_and_affine(numpy.asarray([0,0,0]), n_points-1, n_points) return grid
def get_pixel_grid(self): print "get_pixel_grid" n_points = numpy.uint32(self.shape) grid = grid_from_box_and_affine(numpy.asarray([0,0,0]), n_points-1, n_points) return grid
def get_world_grid(self, n_points=None): if n_points is None: n_points = self.get_shape() grid = grid_from_box_and_affine(self.get_world_grid_min(), self.get_world_grid_max(), n_points) return grid
def get_world_grid(self, n_points=None): if n_points is None: n_points = self.get_shape() grid = grid_from_box_and_affine(self.get_world_grid_min(), self.get_world_grid_max(), n_points) return grid