def METHOD_NAME(com=None, span=None, halflife=None, alpha=None):
    # pandas defines in terms of com (converting to alpha in the algo)
    # so use its function to get a com and then convert to alpha
    com = _get_center_of_mass(com, span, halflife, alpha)
    return 1 / (1 + com)