def get_all_synIdx(self):
tic = time()<EOL>synIdx = {}<EOL>randomstate = np.random.get_state()<EOL>for cellindex in self.RANK_CELLINDICES:<EOL><INDENT>np.random.seed(self.POPULATIONSEED + cellindex)<EOL>synIdx[cellindex] = self.get_synidx(cellindex)<EOL><DEDENT>np.random.set_state(randomstate)<EOL>if RANK == <NUM_LIT:0>:<EOL><INDENT>print(('<STR_LIT>' % (time()-tic)))<EOL><DEDENT>if self.verbose:<EOL><INDENT>for cellindex in self.RANK_CELLINDICES:<EOL><INDENT>for i, synidx in enumerate(synIdx[cellindex]):<EOL><INDENT>print(('<STR_LIT>' % (self.y,<EOL>cellindex, self.X[i]),))<EOL>idxcount = <NUM_LIT:0><EOL>for idx in synidx:<EOL><INDENT>idxcount += idx.size<EOL>print(('<STR_LIT>' % idx.size,))<EOL><DEDENT>print(('<STR_LIT>' % idxcount))<EOL><DEDENT><DEDENT><DEDENT>return synIdx<EOL>
Auxilliary function to set up class attributes containing
synapse locations given as LFPy.Cell compartment indices

This function takes no inputs.


Parameters
----------
None


Returns
-------
synIdx : dict
    `output[cellindex][populationindex][layerindex]` numpy.ndarray of
    compartment indices.


See also
--------
Population.get_synidx, Population.fetchSynIdxCell