def moveVariance(conf1, conf2): dist = confDist(conf1, conf2) var = math.ceil(dist)*0.001 moveVar = makeDiag((var, var)) return moveVar
def invComposeVarianceLists(addedVar, resultVar): # Assumes np return makeDiag(resultVar) - makeDiag(addedVar)