Comments (3)
I'm totally in favor of this!
This would allow us to handle refractoriness properly depending on the precision the user wants and thus we can make sure that it is handled properly.
from nestml.
I would in principle be against introducing special functions, such as set_refractory()
and is_refractory()
, unless it confers a specific advantage. The current method uses resolution()
to generate an integer number of counts to represent the refractory period; I was wondering earlier why not just use a solution that represents time as a floating point:
parameters:
t_refractory ms = 5 ms
end
initial_values:
t_sp ms = -1
end
update:
if V_m > V_th:
emit_spike()
t_sp = t
end
if t_sp < 0 or t - t_sp > t_refractory:
integrate_odes()
end
end
The precision is dependent on the simulation resolution in any of these scenarios.
from nestml.
I guess time might be useful in other models so this could be an option with added value, though I must say that for the specific task of handling refractoriness I do find the former option's explicitness more appealing
from nestml.
Related Issues (20)
- [Feature Request] Continuous input conductance in compartmental models HOT 1
- Error indexing a vector with a local variable
- [feature request] Integrate and Fire mechanism for compartmental models HOT 2
- Forbid assigning to inline expression
- Add coco to check post_ports code generation option
- Allow physical units to appear in expressions without a numeric literal?
- Enhance runtime performance for plastic synapses
- Improve nomenclature for tests
- Fix scaling for delta pulses
- Menu not accessible in mobile version of documentation HOT 1
- Symbol resolution bug for locally defined variables
- Error with `random_normal()` function HOT 1
- New way of handling convolutions HOT 1
- Sender_id information available in the update block HOT 5
- ``get_parent()`` is excruciatingly slow
- Address review comments on #879
- Improve handling of NEST synaptic delay parameter
- Issue in generate_code_for() HOT 2
- Documentation issue on hh_cond_exp_traub neuron model HOT 1
- `nest.ResetKernel()` resets installed modules HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestml.