def transferCoincidences(network, fromElementName, toElementName):
 coincidenceHandle = getLockedHandle(runtimeElement=network.getElement(fromElementName), expression='self._cd._W')
 network.getElement(toElementName).setParameter('coincidencesAbove', coincidenceHandle)

def transferCoincidences ( network , fromElementName , toElementName ) : coincidenceHandle = getLockedHandle ( runtimeElement = network . getElement ( fromElementName ) , expression = 'self._cd._W' ) network . getElement ( toElementName ) . setParameter ( 'coincidencesAbove' , coincidenceHandle )
gets the coincidence matrix from one element and sets it on another element .