neat.NET.calcIZ

NET.calcIZ(loc_inds)[source]

compute I_Z between any pair of locations in loc_inds

Parameters

loc_inds (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