from rozraha import hlp, turning_points, n corr1_1m = hlp["mean"].corr(hlp["mf5f"]) corr2_1m = hlp["mean"].corr(hlp["mf7f"]) corr3_1m = hlp["mean"].corr(hlp["mf9f"]) corr5_1m = hlp["mean"].corr(hlp["mf11f"]) corr6_1m = hlp["mean"].corr(hlp["mf13f"]) corr7_1m = hlp["mean"].corr(hlp["mf15f"]) turning_points5m = turning_points(hlp["mf5f"], n) turning_points7m = turning_points(hlp["mf7f"], n) turning_points9m = turning_points(hlp["mf9f"], n) turning_points11m = turning_points(hlp["mf11f"], n) turning_points13m = turning_points(hlp["mf13f"], n) turning_points15m = turning_points(hlp["mf15f"], n) print("this is median corealtion (послідовне){}\n{}\n{}\n{}\n{}".format( corr1_1m, corr2_1m, corr3_1m, corr5_1m, corr7_1m)) print("turning points median poslidovne:") print("{}\n{}\n{}\n{}\n{}\n{}".format(turning_points5m, turning_points7m, turning_points9m, turning_points11m, turning_points13m, turning_points15m))
from rozraha import hlp, turning_points, n corr01 = hlp["mean"].corr(hlp["exponentialra0.1"]) corr15 = hlp["mean"].corr(hlp["exponentialra0.15"]) corr02 = hlp["mean"].corr(hlp["exponentialra0.2"]) corr025 = hlp["mean"].corr(hlp["exponentialra0.25"]) corr03 = hlp["mean"].corr(hlp["exponentialra0.3"]) print("correaltion exp не послідовне 1") print("{}\n{}\n{}\n{}\n{}".format(corr01, corr15, corr02, corr025, corr03)) turning_pointexp1 = turning_points(hlp["exponentialra0.1"], n) turning_pointsexp15 = turning_points(hlp["exponentialra0.15"], n) turning_pointexp2_ = turning_points(hlp["exponentialra0.2"], n) turning_pointexp25 = turning_points(hlp["exponentialra0.25"], n) turning_pointexp3 = turning_points(hlp["exponentialra0.3"], n) print("exp поворотні точки не послідовне {}\t{}\t{}\t{}\t{}".format( turning_pointexp1, turning_pointsexp15, turning_pointexp2_, turning_pointexp25, turning_pointexp3,
from rozraha import hlp, turning_points corr1m = hlp["mean"].corr(hlp["median_filter3"]) corr2m = hlp["mean"].corr(hlp["median_filter5"]) corr3m = hlp["mean"].corr(hlp["median_filter7"]) corr4m = hlp["mean"].corr(hlp["median_filter9"]) corr5m = hlp["mean"].corr(hlp["median_filter11"]) corr6m = hlp["mean"].corr(hlp["median_filter13"]) corr7m = hlp["mean"].corr(hlp["median_filter15"]) print("this is median corealtion не послідовне {}\n{}\n{}\n{}\n{}".format( corr1m, corr2m, corr3m, corr5m, corr7m)) n = hlp["median_filter3"].__len__() turning_points3m = turning_points(hlp["median_filter3"], n) turning_points5m = turning_points(hlp["median_filter5"], n) turning_points7m = turning_points(hlp["median_filter7"], n) turning_points9m = turning_points(hlp["median_filter9"], n) turning_points11m = turning_points(hlp["median_filter11"], n) turning_points13m = turning_points(hlp["median_filter13"], n) turning_points15m = turning_points(hlp["median_filter15"], n) print("turning points median не послідовне:") print("{}\n{}\n{}\n{}\n{}\n{}\n{}".format(turning_points3m, turning_points5m, turning_points7m, turning_points9m, turning_points11m, turning_points13m, turning_points15m))
corr1_1 = hlp["mean"].corr(hlp["rolling_av3"]) corr2_1 = hlp["mean"].corr(hlp["rolling_av5"]) corr3_1 = hlp["mean"].corr(hlp["rolling_av7"]) corr4_1 = hlp["mean"].corr(hlp["rolling_av9"]) corr5_1 = hlp["mean"].corr(hlp["rolling_av11"]) corr6_1 = hlp["mean"].corr(hlp["rolling_av13"]) corr7_1 = hlp["mean"].corr(hlp["rolling_av15"]) print( "correlation ковзне середнє не послідовне {}\n {}\n {}\n {}\n {} \n{} \n{}" .format(corr1_1, corr2_1, corr3_1, corr4_1, corr5_1, corr6_1, corr7_1)) n = hlp["rolling_av3"].__len__() turning_points3_1 = turning_points(hlp["rolling_av3"], n) turning_points5_1 = turning_points(hlp["rolling_av5"], n) turning_points7_1 = turning_points(hlp["rolling_av7"], n) turning_points9_1 = turning_points(hlp["rolling_av9"], n) turning_points11_1 = turning_points(hlp["rolling_av11"], n) turning_points13_1 = turning_points(hlp["rolling_av13"], n) turning_points15_1 = turning_points(hlp["rolling_av15"], n) print("turning points середнє ковзне не послідовне:") print("{}\n{}\n{}\n{}\n{}\n{}\n{}".format(turning_points3_1, turning_points5_1,
from rozraha import hlp, turning_points corr1_1 = hlp["mean"].corr(hlp["ra5from3"]) corr3_1 = hlp["mean"].corr(hlp["ra7from5"]) corr4_1 = hlp["mean"].corr(hlp["ra9from7"]) corr5_1 = hlp["mean"].corr(hlp["ra11from9"]) corr6_1 = hlp["mean"].corr(hlp["ra13from11"]) corr7_1 = hlp["mean"].corr(hlp["ra15from13"]) print("correlation ковзне середнє послідовне {}\n {}\n {}\n {}\n {} \n{}".format(corr1_1, corr3_1, corr4_1, corr5_1, corr6_1, corr7_1)) n = hlp["rolling_av3"].__len__() turning_points5 = turning_points(hlp["ra5from3"], n) turning_points7 = turning_points(hlp["ra7from5"], n) turning_points9= turning_points(hlp["ra9from7"], n) turning_points11 = turning_points(hlp["ra11from9"], n) turning_points13 = turning_points(hlp["ra13from11"], n) turning_points15 = turning_points(hlp["ra15from13"], n) print("turning points послідовне середнд ковзне:") print("{}\n{}\n{}\n{}\n{}\n{}".format(turning_points5, turning_points7,turning_points9,turning_points11,turning_points13,turning_points15))