Hi Eric,
Yes and no.
In the generic form you describe, during the network setup process it's not possible to query other groups for their connections. The reason is that depending on the order of groups, these other connections might not have been created yet.
However, I suspect there is an easier way to achieve your desired connection scheme in CARLsim. I'm assuming you're trying to do something like Fig. 6 of the paper you mentioned. If you do the bookkeeping externally, so that you know which neuron in the population does what, you can set up an
arbitrary connectivity pattern between two groups.
For example, when I used CARLsim to do vision experiments, I would routinely do
Gaussian connectivity in both visual and feature space, such as Fig. 3B. I would organize my neurons on a
grid, so that the i-th neuron in each group would code for the same spatial location. Then it's easy to do 2D Gaussians in space. If you make your Grid three-dimensional, so that the 3rd dimension stands for orientation, you can even do Gaussians across orientation (i.e., the third dimension of the grid), much like Fig. 3B. That should help you make a V1 cell from a bunch of LGN cells.
Once the network is set up and running, you can query all existing connections (including their strength over time) using a
ConnectionMonitor.
Best,
Michael
P.S. Alternatively, have you thought about letting STDP do the job for you? ;) After all that's supposed to shape connectivity based on correlated activity. :)