Skip to content

2D kCSD: setting gdX doesnt change resolution in Y dimension anymore #11

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

parthdeshmukh1011
Copy link

your previous code is commented

Instead of :
lin_x = np.linspace(self.xmin, self.xmax, nx)
lin_y = np.linspace(self.ymin, self.ymax, ny)
self.space_X, self.space_Y = np.meshgrid(lin_x, lin_y)

I used:
self.space_X, self.space_Y = np.mgrid[self.xmin:self.xmax:np.complex(0,nx) , self.ymin:self.ymax:np.complex(0,ny)]

@danek8317
Copy link
Contributor

Thanks for your comment. Please note this is an old code. For latest version of kCSD package see here: https://github.com/Neuroinflab/kCSD-python

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants