def get_synidx(self, cellindex):
<EOL>cell = self.cellsim(cellindex, return_just_cell=True)<EOL>synidx = {}<EOL>for i, X in enumerate(self.X):<EOL><INDENT>synidx[X] = self.fetchSynIdxCell(cell=cell,<EOL>nidx=self.k_yXL[:, i],<EOL>synParams=self.synParams.copy())<EOL><DEDENT>return synidx<EOL>
Local function, draw and return synapse locations corresponding
to a single cell, using a random seed set as
`POPULATIONSEED` + `cellindex`.


Parameters
----------
cellindex : int
    Index of cell object.


Returns
-------
synidx : dict
    `LFPy.Cell` compartment indices


See also
--------
Population.get_all_synIdx, Population.fetchSynIdxCell