def calc_min_cell_interdist(self, x, y, z):
min_cell_interdist = np.zeros(self.POPULATION_SIZE)<EOL>for i in range(self.POPULATION_SIZE):<EOL><INDENT>cell_interdist = np.sqrt((x[i] - x)**<NUM_LIT:2><EOL>+ (y[i] - y)**<NUM_LIT:2><EOL>+ (z[i] - z)**<NUM_LIT:2>)<EOL>cell_interdist[i] = np.inf<EOL>min_cell_interdist[i] = cell_interdist.min()<EOL><DEDENT>return min_cell_interdist<EOL>
Calculate cell interdistance from input coordinates.


Parameters
----------
x, y, z : numpy.ndarray
    xyz-coordinates of each cell-body.


Returns
-------
min_cell_interdist : np.nparray
    For each cell-body center, the distance to nearest neighboring cell