According to:
|
nx = (self.xmax - self.xmin)/self.gdx |
|
self.estm_x = np.mgrid[self.xmin:self.xmax:np.complex(0, nx)] |
|
nx = (self.xmax - self.xmin)/self.gdx |
|
ny = (self.ymax - self.ymin)/self.gdy |
|
self.estm_pos = np.mgrid[self.xmin:self.xmax:np.complex(0, nx), |
|
self.ymin:self.ymax:np.complex(0, ny)] |
|
nx = (self.xmax - self.xmin)/self.gdx |
|
ny = (self.ymax - self.ymin)/self.gdy |
|
nz = (self.zmax - self.zmin)/self.gdz |
|
|
|
self.estm_pos = np.mgrid[self.xmin:self.xmax:np.complex(0, nx), |
|
self.ymin:self.ymax:np.complex(0, ny), |
|
self.zmin:self.zmax:np.complex(0, nz)] |
the actual increments are
(xmax - xmin) / (nx - 1) and so.