5605cfb777a9319319490c3357be491ddae88213,pynets/thresholding.py,,thresh_diff,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,168

Before Change


        est_path = utils.create_est_path(ID, network, conn_model, thr, mask, dir_path, node_size)
    else:
        conn_matrix_thr = thresholding.density_thresholding(conn_matrix, float(thr))
        edge_threshold = str(float(thr)*100) + "%"
        est_path = utils.create_est_path(ID, network, conn_model, thr, mask, dir_path, node_size)
    np.save(est_path, conn_matrix_thr)
    return conn_matrix_thr, edge_threshold, est_path, thr, node_size, network

After Change


    from pynets import utils, thresholding

    thr_perc = 100 * float(thr)
    edge_threshold = "%s%s" % (str(thr_perc), "%")
    if parc is True:
        node_size = "parc"
    if dens_thresh is False:
        print("%s%.2f%s" % ("\nThresholding proportionally at: ", thr_perc, "% ...\n"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dPys/PyNets
Commit Name: 5605cfb777a9319319490c3357be491ddae88213
Time: 2018-06-13
Author: dpisner@utexas.edu
File Name: pynets/thresholding.py
Class Name:
Method Name: thresh_diff


Project Name: dPys/PyNets
Commit Name: 5605cfb777a9319319490c3357be491ddae88213
Time: 2018-06-13
Author: dpisner@utexas.edu
File Name: pynets/thresholding.py
Class Name:
Method Name: thresh_and_fit


Project Name: suavecode/SUAVE
Commit Name: 41ee4d8c25ffbcbfc0d04c8d5e3e1117cf8c4e4c
Time: 2020-12-20
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Input_Output/OpenVSP/vsp_read_wing.py
Class Name:
Method Name: vsp_read_wing