@staticmethod
def calc_parabola_param(pt1, pt2, pt3):
    """
        define a parabola using three points
        :param pt1: First point (x,y)
        :param pt2: Second point (x,y)
        :param pt3: Third point (x,y)
        :return tuple of a, b, and c for parabola a(x^2) + b*x + c = 0
        """
    x1, y1 = pt1
    x2, y2 = pt2
    x3, y3 = pt3
    _m_ = (x1 - x2) * (x1 - x3) * (x2 - x3)
    a_param = (x3 * (y2 - y1) + x2 * (y1 - y3) + x1 * (y3 - y2)) / _m_
    b_param = (x3 * x3 * (y1 - y2) + x2 * x2 * (y3 - y1) + x1 * x1 * (y2 - y3)
        ) / _m_
    c_param = (x2 * x3 * (x2 - x3) * y1 + x3 * x1 * (x3 - x1) * y2 + x1 *
        x2 * (x1 - x2) * y3) / _m_
    return a_param, b_param, c_param
