Thanks, Florian! Thanks, Jochen!

@Jochen, the answer is mostly "yes" to both your questions. The only thing is that there is already a conditional code in the weight update that sets a minimum value of zero for the weight. I only changed the hardcoded zero to a variable Wmin that can be set with set_status(). So the default value of the property that would lead to no changes in the model behavior in NEST is zero, and not -infinity. But I guess that still counts as a "yes".

I will look into a pull request, then. Thanks!

Cheers,
Júlia

Em seg., 14 de jun. de 2021 às 12:21, Jochen Martin Eppler <j.eppler@fz-juelich.de> escreveu:

Dear Júlia,

do I understand you correctly that your change is really just the addition of some w_min property, get/set_status() handling of it and some conditional code in the weight update function? And am I right in that the behavior of the model currently in NEST would not be changed at all if the new property were set to -infinity by default?

If the answers to these questions are close to “yes”, I think the best way to integrate your changes into the corresponding built-in modes would be by means of a pull request against NEST and/or NESTML.

If they are more towards “no” or “maybe”, I suggest, you come to one of our next open NEST video conferences, so we could discuss more directly.

Cheers,
Jochen!

On 11.06.21 13:19, Julia Gallinaro wrote:

Dear NEST Community,

I have performed a small alteration on one model of NEST for a project I am working on (It is a minor alteration: I included a minimum hard bound for weights in the triplet STDP rule).

I now want to share the code for this project, and would like to know what is the best approach for doing this. Should I provide my copy of the altered model file together with my project scripts? Or is there another way of doing it, which is more appropriate?

I am sorry if that is a basic question, but it is the first time I change something on NEST code for a project.

Best,
Júlia

_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org

-- 
Dr. Jochen Martin Eppler
Phone: +49(2461)61-96653
----------------------------------
Simulation Laboratory Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
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,
Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org