Since the NEST community is bound to lose an armsrace against infinite volumes of AI generated code, I'd recommend you to check the generated code against the NEST documentation https://nest-simulator.readthedocs.io/en/stable/

Any class that exists outside of the imagination of Bard, will be listed there. It also has plenty of examples to show and explain how to execute common tasks in NEST.

On Fri, Jan 26, 2024, 09:59 Alvin Spivey <alvin.spivey@gmail.com> wrote:
I'm using Google Bard's Gemini to learn NESTML.  It's giving me some unexpected results:

import nestml
from nestml.network import Network
from nestml.models import ConeNakaRushton

# Define network with Naka-Rushton cone model for primate 'cone_type' cones
network = Network()
cone_population = network.add_population("cones", ConeNakaRushton(species="human", cone_type=cone_type))

The NESTML network and models packages don't seem to exist. Also, how do I find more information about the network and models packages (or packages in general) for NESTML?

--
Alvin J. Spivey, Ph.D.
(c) 843.267.8055 
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org