src/create_rois.py
def distance(p1, p2):
    '''
    Basic L2 distance. I will not bother writing a detailed docstring for this.
    '''

    import numpy as np
    d = np.sqrt(((p2[0] - p1[0]) ** 2) + ((p2[1] - p1[1]) ** 2))
    return d

    Basic L2 distance. I will not bother writing a detailed docstring for this.
    
Basic L2 distance. I will not bother writing a detailed docstring for this.
Basic L2 distance . I will not bother writing a detailed docstring for this .
def distance(p1, p2):
    import numpy as np
    d = np.sqrt(((p2[0] - p1[0]) ** 2) + ((p2[1] - p1[1]) ** 2))
    return d
def distance ( p1 , p2 ) : import numpy as np d = np . sqrt ( ( ( p2 [ 0 ] - p1 [ 0 ] ) ** 2 ) + ( ( p2 [ 1 ] - p1 [ 1 ] ) ** 2 ) ) return d
Basic L2 distance.
Basic L2 distance .
'''
    Basic L2 distance. I will not bother writing a detailed docstring for this.
    '''
p1
p2