With class TopoPopulation, for large networks and small mask radii the probability (Pr) for drawing a presynaptic neuron will be 0 for a large number of entries. Seems like we should only parse nodes[Pr>0] and Pr[Pr>0] to LFPy.alias_method.alias_method in helperfun._getSpCell() to avoid many comparisons to 0.
With class
TopoPopulation
, for large networks and small mask radii the probability (Pr
) for drawing a presynaptic neuron will be 0 for a large number of entries. Seems like we should only parsenodes[Pr>0]
andPr[Pr>0]
toLFPy.alias_method.alias_method
inhelperfun._getSpCell()
to avoid many comparisons to 0.