net_event and NMODL files

NMODL and the Channel Builder.
Post Reply
dperakis

net_event and NMODL files

Post by dperakis »

I have constructed a MOD - PointProcess file that simulates the whole activity of a single neuron.
Inside the BREAKPOINT I have included a threshold detection mechanism.
Is it possible to send an event to the "next" neuron, when the threshold is surpassed, using a command inside the BREAKPOINT block and not in the NET_RECEIVE block. ("next" means the neuron attached next to it with a NetCon mechanism)
Because the net_event command is functioning only inside the NET_RECEIVE and INITIAL blocks.
Thanks
ted
Site Admin
Posts: 6398
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: net_event and NMODL files

Post by ted »

dperakis wrote:I have constructed a MOD - PointProcess file that simulates the whole activity of a single neuron.
Inside the BREAKPOINT I have included a threshold detection mechanism.
So presumably:
1. all the dynamics are expressed in the BREAKPOINT block
and
2. you specified the dynamics in the BREAKPOINT block because the model's equations
did not have an analytic solution (if they did, it would be far more efficient to put
everything in a NET_RECEIVE block
Inside the BREAKPOINT I have included a threshold detection mechanism.
This is unnecessary and inadvisable. Unnecessary because you can use a NetCon to
monitor your model cell's "excitation" variable for threshold crossing. Inadvisable because
your threshold detector cannot make use of NEURON's event delivery system.
Is it possible to send an event to the "next" neuron, when the threshold is surpassed, using a command inside the BREAKPOINT block and not in the NET_RECEIVE block.
No.

You could conceivably use a WATCH statement in a NET_RECEIVE block to specify
detection of threshold crossings, but you'd still need NetCons to connect the spike
source to targets, so why bother cluttering up your NMODL code?
Post Reply