Skip to content

gdx, gdy, gdz are not exactly "space increments in estimation space" #94

@abukaj

Description

@abukaj

According to:

kCSD-python/kcsd/KCSD.py

Lines 473 to 474 in 2ce755a

nx = (self.xmax - self.xmin)/self.gdx
self.estm_x = np.mgrid[self.xmin:self.xmax:np.complex(0, nx)]

kCSD-python/kcsd/KCSD.py

Lines 637 to 640 in 2ce755a

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)]

kCSD-python/kcsd/KCSD.py

Lines 929 to 935 in 2ce755a

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions