def string2array(value):
    """ covert a long string format into a list

    :param value: a string that can be split by "," 
    :type value: str
    :return: the array of flaoting numbers from a sring 
    :rtype: [float,float,....]
    """
    value = value.replace("[", "").replace("]", "")
    value = value.split(",")
    # print("def string2array", value)
    return [float(i)for i in value]