

def get_index_projection(self, map_projection):
    ' Find the projection from chain activities to cable signals '
    num_cables = np.int((map_projection.size ** 0.5))
    projection = np.zeros((num_cables, 2))
    chains = np.reshape(map_projection, (chains, num_cables))
    projection[:, 0] = np.sign(np.max(chains, axis=1))
    projection[:, 1] = np.sign(np.max(chains, axis=0))
    return projection

dataset/ETHPy150Open matt2000/becca/core/daisychain.py DaisyChain.get_index_projection/VarMisuse@51/87 `num_cables`->`chains`