def _avgConnectedSpanForColumn1D(self, columnIndex):
assert(self._inputDimensions.size == <NUM_LIT:1>)<EOL>connected = self._connectedSynapses[columnIndex].nonzero()[<NUM_LIT:0>]<EOL>if connected.size == <NUM_LIT:0>:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>return max(connected) - min(connected) + <NUM_LIT:1><EOL><DEDENT>
The range of connected synapses for column. This is used to
calculate the inhibition radius. This variation of the function only
supports a 1 dimensional column topology.

Parameters:
----------------------------
:param columnIndex:   The index identifying a column in the permanence,
                      potential and connectivity matrices