neat.NET.calc_i_z

NET.calc_i_z(loc_idxs)[source]

compute I_Z between any pair of locations in loc_idxs

Parameters:

loc_idxs (iterable of ints) – the indices of locations between which I_Z has to be evaluated

Returns:

float or dict of tuple – Returns a float if the number of location indices is two, otherwise a dictionary with location pairs (smallest is listed first) as keys and I_Z values as values

Return type:

float