% to be run before run_test.sli

% expectation:
%   /anchor << /row -1 /column 0 >> : fictional point above upper left corner of mask aligned with source
%
%    Sources                      Targets
%     2  7 12 17 22    	          28 33 38 43 48
%     3  8 13 18 23		  29 34	39 44 49
%     4	 9 14 19 24		  30 35	40 45 50
%     5	10 15 20 25		  31 36	41 46 51
%     6	11 16 21 26		  32 37	42 47 52
%
%    Exemplary connections
%      2 -> 29 34 39    17 -> 44 49    22 -> 49
%	    30 35 40	      45 50	     50
%
%      5 -> 32 37 42    20 -> 47 52    25 -> 52
%
%      6 ->    	        21 ->  	       26 ->


/layer << /rows 5
          /columns 5
          /extent [1.25 1.25]
          /center [0. 0.]
          /edge_wrap false
          /elements /iaf_neuron
        >> def

/src_layer layer def
/tgt_layer layer def

/conns << /connection_type (divergent)
          /mask << /grid << /rows 2 /columns 3 >> /anchor << /row -1 /column 0 >> >>
       >> def