AllenInstitute / sonata

Collaboration between BBP and AIBS
BSD 3-Clause "New" or "Revised" License
55 stars 33 forks source link

Unrecognized model_type single_compartment? #133

Open JY-Gao opened 1 year ago

JY-Gao commented 1 year ago

hello! I'm building a single compartment HH model using BMTK. When I set the model_type to 'single_compartment' during the build process, I receive the following error message: 'Exception: Unrecognized model_type single_compartment.' Can you please advise me on how to build a single compartment HH model using BMTK?

kaeldai commented 1 year ago

Hi @JY-Gao, Unfortantely at the moment "single_compartment" models are not implemented in bmtk. We are working on implementing it but it will take some time before we have code to check in.

In the time-being, the best thing to do is to use PointNet, but to replace "nest:iaf_psc_alpha" with "nest:hh_psc_alpha" (or one of the other Hodgkin-Huxley models). You would also need to update the dynamics_params *.json file to match the model parameters for the hh model. One option is to take an existing PointNet example and in the network/cortex_nodes.csv file replace model_template to use a hh model.