Command: topology::GetPosition

NEST HelpDesk Command Index NEST Quick Reference

Name:
 topology::GetPosition - retrieve position of input node

Synopsis:
 node_gid GetPosition -> [array]

Parameters:
    node_gid      - gid of layer node
    [array]       - spatial position of node [x y]

Description:
 Retrieves spatial 2D position of layer node.

Examples:

    topology using

    %%Create layer
    << /rows 5
       /columns 4
       /elements /iaf_neuron
    >> /dictionary Set

    dictionary CreateLayer /src Set

    4 GetPosition

Author:
 Kittel Austvoll
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/topology/topologymodule.cpp

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative