I think if a user is quite familiar with C++ as often the case with
neuroscientists, then writing a module
directly in C++ would give him/her a greater deal of freedom and
debugging opportunities.
On Wed, May 6, 2020 at 5:44 PM Itaru Kitayama <itaru.kitayama(a)gmail.com> wrote:
>
> Charl,
> Thanks. I'll look forward to "The NEST Book." then.
>
> On Wed, May 6, 2020 at 5:41 PM Charl Linssen <nest-users(a)turingbirds.com>
wrote:
> >
> > Hi Itaru,
> >
> > You are quite right, there are a lot of similarities between NMODL and NESTML.
> >
> > Kind regards,
> > Charl
> >
> >
> > On Wed, May 6, 2020, at 10:36, Itaru Kitayama wrote:
> > > Charl,
> > > Is it like a .mod file in NEURON?
> > >
> > > Thanks,
> > > Itaru.
> > >
> > > On Wed, May 6, 2020 at 5:32 PM Charl Linssen
<nest-users(a)turingbirds.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I just want to take the chance to advertise NESTML, a domain-specific
language that you can use to write custom neuron models for NEST in an easy syntax
(without writing any C++ at all).
> > > >
> > > > For more information, I will pass you the "sneak preview"
link to the new NESTML documentation:
https://nestml-api-documentation.readthedocs.io/
> > > >
> > > > If you decide to do your neuron modelling via NESTML, I would be happy
to give you additional pointers, on- or off-list.
> > > >
> > > > With kind regards,
> > > > Charl
> > > >
> > > >
> > > > On Wed, May 6, 2020, at 08:33, Hans Ekkehard Plesser wrote:
> > > >
> > > >
> > > > Hi Allen,
> > > >
> > > > Several steps are required to add a model to NEST. The recommended way
of adding a model is to create your own NEST module outside the NEST source code tree. You
will find an example in examples/MyModule and more documentation at
https://nest.github.io/nest-simulator/extension_modules.
> > > >
> > > > Placing code for custom models in the models directory in the NEST
source code tree also works, but makes it more difficult to move to newer versions of NEST
or to share your custom models with colleagues.
> > > >
> > > > Briefly, in addition to adding the source code files to the models
directory, you need to
> > > >
> > > > 1. add the files to models/CMakeLists.txt
> > > > 2. #include the files in models/modelsmodule.cpp
> > > > 3. add a line like
> > > >
> > > > register_connection_model< StaticConnection >(
"static_synapse" );
> > > >
> > > > for each model. The template parameter is the model class, the
string the name it will have in NEST
> > > > 4. recompile and reinstall NEST
> > > >
> > > > Best,
> > > > Hans Ekkehard
> > > >
> > > >
> > > >
> > > > On 6 May 2020, at 02:11, Allen Rabayda
<arabayda(a)masonlive.gmu.edu> wrote:
> > > >
> > > > Dear Nest Community,
> > > >
> > > > Would anyone have insight into why I'm getting an
UnknownModelName error?
> > > >
> > > > I'm new to Nest and am using Nest 18.0 on Lubuntu Virtual Box
(Windows 10 OS).
> > > >
> > > > Thanks for any help.
> > > >
> > > > Best Regards,
> > > > --Allen
> > > >
> > > > **** Error Message--additional details attached ******
> > > > raise exceptionCls(commandname, message)
> > > > nest.ll_api.UnknownModelName: ('UnknownModelName in
CopyModel_l_l_D: /stdp_izh_bitwise_correct_connection is not a known model name. Please
check the modeldict for a list of available models.', 'UnknownModelName',
<SLILiteral: CopyModel_l_l_D>, ': /stdp_izh_bitwise_correct_connection is not a
known model name. Please check the modeldict for a list of available models.')
> > > > ********************************************************
> > > >
<issue_UnknownModelName_4_May_2020>_______________________________________________
> > > > NEST Users mailing list -- users(a)nest-simulator.org
> > > > To unsubscribe send an email to users-leave(a)nest-simulator.org
> > > >
> > > >
> > > > --
> > > >
> > > > Prof. Dr. Hans Ekkehard Plesser
> > > > Head, Data Science Section
> > > >
> > > > Faculty of Science and Technology
> > > > Norwegian University of Life Sciences
> > > > PO Box 5003, 1432 Aas, Norway
> > > >
> > > > Phone +47 6723 1560
> > > > Email hans.ekkehard.plesser(a)nmbu.no
> > > > Home
http://arken.nmbu.no/~plesser
> > > > _______________________________________________
> > > > NEST Users mailing list -- users(a)nest-simulator.org
> > > > To unsubscribe send an email to users-leave(a)nest-simulator.org
> > > >
> > > >
> > > > _______________________________________________
> > > > NEST Users mailing list -- users(a)nest-simulator.org
> > > > To unsubscribe send an email to users-leave(a)nest-simulator.org
> > > _______________________________________________
> > > NEST Users mailing list -- users(a)nest-simulator.org
> > > To unsubscribe send an email to users-leave(a)nest-simulator.org
> > >
> > _______________________________________________
> > NEST Users mailing list -- users(a)nest-simulator.org
> > To unsubscribe send an email to users-leave(a)nest-simulator.org