-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can different branches have a different nseg? #415
Comments
Hi! Thanks for reaching out!
Hope this helps! |
Thanks for your help! I realized the mistake was that I only changed the dt in jx.step_current(). I appreciate your assistance and hope you make great progress too! |
Quick update: Point 3 (public states in
I also started working on Point 1 (different nseg), but this will still take a few days. Cheers |
Hi there, quick update regarding having a different number of comp = jx.Compartment()
branch1 = jx.Branch(comp, nseg=1)
branch2 = jx.Branch(comp, nseg=2)
branch3 = jx.Branch(comp, nseg=4)
cell = jx.Cell([branch1, branch2, branch3], parents=[-1, 0, 0]) Currently, you cannot modify the Hope this helps! |
Thanks! It really helps a lot! |
This is now finished and release: You can set the number of compartment per branch with the cell.branch.set_ncomp(6) I will close this issue for now, but please let us know if anything is not working as expected! |
1.Can different branch has different nseg?
Like NEURON, I wanna set different branch with differen nseg, but when I give a list to that, the cell.show() can not work.
2.When setting dt !=0.025, traces change a lot.
I tried to set dt = 0.01 or other values which are not 0.025, but the voltage traces changed a lot, I dont konw why.
3.Can init_state() in channel class receive public channel_states as input?
Sometimes the init_states() needs the cai as input.
The text was updated successfully, but these errors were encountered: