You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This probably does not warrant a full tutorial, but maybe an FAQ?
importjaxleyasjxfromjaxley.channelsimportLeakfromjaxley.connectimportfully_connectfromjaxley.synapsesimportTanhRateSynapsenum_cells=100cell=jx.Cell() # Create a point-neuron.net=jx.Network([cellfor_inrange(num_cells)]) # Assemble into a network.net.insert(Leak()) # Add a leak to achieve dynamics like ```C * dV/dt = -gLeak * (ELeak - V)```net.set("Leak_eLeak", 0.0) # Center the dynamics around zero.fully_connect(net.cell("all"), net.cell("all"), TanhRateSynapse())
net.set("capacitance", 2.0) # Change the capacitance (i.e. the time constant).
The text was updated successfully, but these errors were encountered:
This probably does not warrant a full tutorial, but maybe an FAQ?
The text was updated successfully, but these errors were encountered: