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

"Neuroscience" SI units in NESTML #362

Closed
DimitriPlotnikov opened this issue Jun 1, 2017 · 9 comments
Closed

"Neuroscience" SI units in NESTML #362

DimitriPlotnikov opened this issue Jun 1, 2017 · 9 comments

Comments

@DimitriPlotnikov
Copy link
Contributor

DimitriPlotnikov commented Jun 1, 2017

The goal of this discussion is to define a list with "neuroscience" magnitudes of SI in NEST/NESTML. E.g. all variables in NESTML models of the SI unit will be automatically converted to a proper magnitued during the NEST code generation workflow. The current status is. @Silmathoron, @heplesser. @PTraeder: can you update/extend the list since you know what is really supported.

milli seconds - ms
pico farad   - pF
milli volt    - mV
pico ampere  - pA
nano siemens - nS
mega ohm     - MOhm
@heplesser
Copy link

heplesser commented Jun 1, 2017

The list looks good, but as @Silmathoron pointed out, resistance should be in gigaohm, not megaohm. That is also consistent with conductance in nanosiemens.

The only other units I can think of right now are for

  • frequencies: Hz
  • rates: s^-1
  • angles: deg

Note that frequencies and rates are given per second, not per ms.

@DimitriPlotnikov
Copy link
Contributor Author

@heplesser
Do we have any NEST models with such units (Hz, s^-1,deg)?

@Silmathoron
Copy link
Member

Yes, stochastically spiking neurons like pp_psc_delta

@heplesser
Copy link

Almost all _generator models except dc_generator have some such parameters.

@Silmathoron
Copy link
Member

Do we plan to extend NESTML to make generators?

@DimitriPlotnikov
Copy link
Contributor Author

In midterm yes. Current prios from my perspective would be : stability of the nest-generator for all kinds of iaf-neurons, support for synapses, remaining types of NEST neurons, re-implementation of NESTML in Python, ...

@Silmathoron
Copy link
Member

I'm very much looking forward to the last part ;)

@DimitriPlotnikov
Copy link
Contributor Author

Yes, it will take its time. I've a student worker how will start that translation in next months. If you have already any expertise in Python's parser generators, I'll would appreciate your input. We are currently evaluating: pyparsing, ply (+its extensions) and ANTLR4.

@DimitriPlotnikov
Copy link
Contributor Author

Done.

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

No branches or pull requests

3 participants