Hi Ady,

in NEST 3 allowing autapses is a property of the connection, not of the kernel anymore. So you give it in the 'conn_spec' dictionary of the Connect() call:

Autapse

An autapse is a synapse (connection) from a node onto itself. Autapses are permitted by default, but can be disabled by adding 'allow_autapses': False to the connection dictionary.

https://nest-simulator.readthedocs.io/en/v3.1/guides/spatially_structured_networks.html?highlight=autapse

Same holds true for multapses.

Let us know if that works for you.

Best regards,
Dennis

On 17.11.21 02:11, Aadhar Sharma wrote:
Hi all,

Is there a way to allow/disallow autapses and multapses for structurally plastic 
synapses in NESTv 3.1?

I used the following code for disabling autapses in NESTv2.20.1 with:

    nest.SetKernelStatus({
         'structural_plasticity_synapses': {
             'syn1': {
                 'model': 'copied_synapse_model',
                 'post_synaptic_element': 'Den_exc',
                 'pre_synaptic_element': 'Axon_exc',
             }
         },
          'autapses': False,
    })

However, this does not work in NEST 3.1 (Error: "`autapses` is not a valid 
kernel parameter, valid parameters are: ...")

I am moving to NEST 3.1 and would like to disable autapses for structurally 
plastic neurons (i.e., no direct connections between synaptic elements of the 
same neuron).

Thanks for any help :)


Best regards,
Ady



_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
-- 
Dipl.-Phys. Dennis Terhorst
Coordinator Software Development

Institute of Neuroscience and Medicine (INM-6)
Computational and Systems Neuroscience &
Theoretical Neuroscience,
Institute for Advanced Simulation (IAS-6)
Jülich Research Centre, Member of the Helmholz Association and JARA
52425 Jülich, Germany

Building 15.22   Room 4004
Phone    +49 2461 61-85062
Fax      +49 2461 61- 9460
d.terhorst@fz-juelich.de

----------------------------------------------------------------------
Forschungszentrum Juelich GmbH, 52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Frauke Melchior
----------------------------------------------------------------------