Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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

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

Successfully merging this pull request may close these issues.

2 participants