2020.12.20
20201219的节点还是不够满足,所以在这里取了另外取了10个节点,总共加上原来的节点是18个节点 
"""
""" 顔色 """
# cmaps = OrderedDict()
"""
所谓low_fidelity,其实就是Beam188单元
"""
path_prefix = r"C:\Users\asus\Desktop\Code\DT_Crane_Boom_v1.0\APP_models\\"
path_arr = \
    {
        "low": r"pre_low_fidelity_truss_point\stress_point_more_nodes\\",
        "high": r"pre_high_fidelity_truss_point\stress_point_less_samples\\",
        "verification": r"pre_verification_truss_point\stress_eighteen_nodes\\",
    }
rd = Read_Data()
""" 2020.12.21
读入高低保真的18个节点应力数据
"""
list_stress_low = rd.read_stress(path_prefix + path_arr["low"], mode='v')
list_stress_high = rd.read_stress(path_prefix + path_arr["high"], mode='v')
list_stress_verification = rd.read_stress(path_prefix +
                                          path_arr["verification"],
                                          mode='v')
""" 2020.12.21
每个点的应力放入一个数组,二维数组 
低保真样本18*10*10=18*100
高保真样本18*6
验证18*37*19=18*703
"""
array_real_stress_low = np.asarray(list_stress_low).T
20201219的节点还是不够满足,所以在这里取了另外取了10个节点,总共加上原来的节点是18个节点 
"""
""" 顔色 """
# cmaps = OrderedDict()
"""
所谓low_fidelity,其实就是Beam188单元
"""
path_prefix = r"C:\Users\asus\Desktop\Code\DT_Crane_Boom_v1.0\APP_models\\"

path_stress_arr = \
    {
        "low": r"pre_low_fidelity_truss_point\stress_point_more_nodes\\",
        "high": r"pre_high_fidelity_truss_point\stress_point_less_samples\\",
        "verification": r"pre_verification_truss_point\stress_eighteen_nodes\\",
    }
rd_stress = Read_Data()
""" 2020.12.21
读入高低保真的18个节点应力数据
"""
list_stress_low = rd_stress.read_stress(path_prefix + path_stress_arr["low"],
                                        mode='v')
list_stress_high = rd_stress.read_stress(path_prefix + path_stress_arr["high"],
                                         mode='v')
list_stress_verification = rd_stress.read_stress(
    path_prefix + path_stress_arr["verification"], mode='v')

path_deformation_arr = \
    {
        "low": r"pre_low_fidelity_truss_point\deformation_point_more_nodes\\",
        "high": r"pre_high_fidelity_truss_point\deformation_point_less_samples\\",
        "verification": r"pre_verification_truss_point\deformation_eighteen_nodes\\",