51466eb8694c5597b4008abf47833560250b4346,trackpy/locate_functions/brightfield_ring.py,,locate_brightfield_ring,#Any#Any#Any#Any#,16

Before Change


        warnings.warn("No particles found in the image before refinement.")
        return coords_df

    coords_df = coords_df.astype(float)

    refined = {}
    for i, coords in coords_df.iterrows():
        result = refine_brightfield_ring(image, radius, coords,

After Change



        // Make a copy of old coords and overwrite with result
        // In this way any extra columns from previous_coords are preserved
        new_coords = coords.copy()
        for column in result.index.tolist():
            // make a new column if necessary, otherwise overwrite
            new_coords[column] = result.get(column)
        refined[i] = new_coords

    columns = np.unique(np.concatenate((pos_columns, ["r"], coords_df.columns)))
    if len(refined) == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: soft-matter/trackpy
Commit Name: 51466eb8694c5597b4008abf47833560250b4346
Time: 2019-02-18
Author: verweij@physics.leidenuniv.nl
File Name: trackpy/locate_functions/brightfield_ring.py
Class Name:
Method Name: locate_brightfield_ring


Project Name: nipy/dipy
Commit Name: 0742b80f3c175de082127ee73a7364e173fd60df
Time: 2014-09-30
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_sumsqdiff.py
Class Name:
Method Name: test_compute_residual_displacement_field_ssd_2d


Project Name: nipy/dipy
Commit Name: 0742b80f3c175de082127ee73a7364e173fd60df
Time: 2014-09-30
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_sumsqdiff.py
Class Name:
Method Name: test_compute_residual_displacement_field_ssd_3d


Project Name: nilearn/nilearn
Commit Name: 6704c535b8c59ab3b9b98c0489a051654c1ee727
Time: 2013-04-05
Author: philippe.gervais@inria.fr
File Name: nisl/signals.py
Class Name:
Method Name: _standardize