def locateFasc(intersections, refPoint, ycalib):
    """
    Function that caracterizes each fascicle location by a float value
    corresponding to the horizontal distance between
    refPoint and the intersection of the fascicles with deep aponeurosis
    Ideally, refPoint is the intersection point between the two aponeuroses

    Inputs:
        intersections: list of intersection points of fascicles with deep aponeurosis
        refPoint = (row = on axis 0, column = on axis 1)
        ycalib: horizontal calibration factor
    """
    listLoc = []

    for index in range(len(intersections)):
        pt = intersections[index]
        loc = abs(pt[1] - refPoint[1]) * ycalib
        listLoc.append(loc)

    return listLoc