Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(21)  |  Derive(0)  |  Import(0)

src/p/y/PyPursuit-1.1.0/PyMP/mp.py   PyPursuit(Download)
        current_srr = current_approx.compute_srr(res_signal)
 
        _Logger.debug("SRR reached of " + str(current_srr) +
                      " at iteration " + str(it_number))
 
        current_srr = current_approx.compute_srr(res_signal)
 
        _Logger.debug("SRR reached of " + str(current_srr) +
                      " at iteration " + str(it_number))
 
        current_srr = current_approx.compute_srr(res_signal)
 
        _Logger.debug("SRR reached of " + str(current_srr) +
                      " at iteration " + str(it_number))
 
#            return current_approx, res_energy
    if debug > 0:
        _Logger.debug(_itprint_(it_number, best_atom))
    try:
        res_signal.subtract(best_atom, debug)
    if debug > 1:
        _Logger.debug(
            "new residual energy of " + str(np.sum(res_signal.data ** 2)))
    if not unpad:
        res_energy.append(res_signal.energy)