-
Notifications
You must be signed in to change notification settings - Fork 88
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
Refer to NEST models and NESTML #363
Comments
Hi @Jballbe The "glif_lif_asc_psc" is an older version of the NEST glif model so you are correct it doesn't correspond to any of the built-in NEST models. However, to help with backwards compatability, BMTK will automatically convert "glif_lif_asc_psc" => "glif_psc" and also update the .json file accordingly. We are in the process of updating the tutorial, but in the mean-time there is a point_450glifs/ example that is more up-to-date. However if you want to use the old tutorials you can use the following code to convert the old glif model + AIBS json file into the appropiate NEST values: import json
from bmtk.simulator.pointnet.glif_utils import convert_aibs2nest
nest_model, nest_params = convert_aibs2nest('nest:glif_lif_asc_psc', json.load(open('501282204_glif_lif_asc_config.json', 'r'))) |
As far as your other question - I believe at the moment NESTML support has not been added to the main bmtk branch. However much work has been done (by another developer) on this and we may be able to add it very soon. I will need to talk to the other developer and get back with you. |
Hi @kaeldai , Thank you very much for your precisions about the glif_lif_asc_psc model name, that enlightens me! Thank you for NESTML, I'd love to be able to use it! |
Hi Julien, Yes, I believe it should work that way - please let us know if you run into any issues. I have passed along to Kael a draft PR of NESTML that works for cell models, but turns out to be a bit more complicated for synapse models. Are you interested mostly in cell models for NESTML? Thanks, |
Hi Ping, Thank you for your answer! I am sorry but what do you mean by "draft PR" ? I don't have the acronym... Thank you ! |
Hi Julien, PR = pull request (to merge code into the main repository). I just meant that I passed along my partial work to Kael who will work on testing it against latest Nest and incorporating it. Good to know that you're mostly interested in cell models - I believe those should be doable. I also think you can mix nestml cell models with standard static synapse, but Kael can confirm that in testing. We'll keep you posted, |
Hi,
I am implementing a network model using BMTK, and I was studying one of your tutorials where you refer a GLIF model :
{ "N": 2384, "model_name": "Sst_501282204", "cell_line": "i4Sst", "ei": "i", "model_type": "point_neuron", "model_template": "nest:glif_lif_asc_psc", "dynamics_params": "501282204_glif_lif_asc_config.json" },
However the
glif_lif_asc_psc
is not referred to on the NEST model page . Is this name referring to a subfile of NEST? if so, do you know where we can find the list of available models' name?Also, I was wondering if I could use BMTK with NESTML to have a custom neuron model?
Thank you very much for your help!
Best regards,
Julien Ballbé
The text was updated successfully, but these errors were encountered: