-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2853 from jougs/models
Allow setting volume_transmitter via NodeCollection, instead of naked ID
- Loading branch information
Showing
22 changed files
with
191 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.. _release_3.6: | ||
|
||
What's new in NEST 3.6 | ||
====================== | ||
|
||
This page contains a summary of important breaking and non-breaking | ||
changes from NEST 3.5 to NEST 3.6. In addition to the `release notes | ||
on GitHub <https://github.com/nest/nest-simulator/releases/>`_, this | ||
page also contains transition information that helps you to update | ||
your simulation scripts when you come from an older version of NEST. | ||
|
||
If you transition from an earlier version, please see our extensive | ||
:ref:`transition guide from NEST 2.x to 3.0 <refguide_2_3>` and the | ||
:ref:`list of updates for previous releases in the 3.x series | ||
<whats_new>`. | ||
|
||
|
||
New way to set the volume transmitter on STDP dopamine synapse | ||
-------------------------------------------------------------- | ||
|
||
Previously, the :doc:`volume transmitter <../../../../models/volume_transmitter>` | ||
for the :doc:`STDP dopamine synapse <../../../../models/stdp_dopamine_synapse>` was | ||
set by supplying it with the "naked" node ID of the volume transmitter using its | ||
property `vt`. As it was rather inconvenient to obtain this ID and the procedure was | ||
inconsistent with how nodes are usually passed around in NEST, this is now no longer | ||
possible. Instead, the volume transmitter is now set by supplying a NodeCollection to | ||
the property `volume_transmitter` of the synapse's common properties: | ||
|
||
+--------------------------------------------------+--------------------------------------------------+ | ||
| Up to NEST 3.5 | from NEST 3.6 on | | ||
+==================================================+==================================================+ | ||
| :: | :: | | ||
| | | | ||
| vt = nest.Create("volume_tranmitter") | vt = nest.Create("volume_tranmitter") | | ||
| nest.SetDefaults( | nest.SetDefaults( | | ||
| "stdp_dopamine_synapse", | "stdp_dopamine_synapse", | | ||
| {"vt": vol.get("global_id")} | {"volume_transmitter": vt} | | ||
| ) | ) | | ||
| | | | ||
+--------------------------------------------------+--------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.