import numpy as np from numpy import nan add_legend_handle = [ 'alpha3.yoda' ] xpoints = { 'alpha3.yoda' : [0.025, 0.07500000000000001, 0.125, 0.175, 0.225, 0.275, 0.32499999999999996, 0.375, 0.42500000000000004, 0.475, 0.525, 0.575, 0.625, 0.675, 0.725, 0.775, 0.825, 0.875, 0.925, 0.975], } xedges = { 'alpha3.yoda' : [0.0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1.0], } ref_xerrs = [ [abs(xpoints['alpha3.yoda'][i] - xedges['alpha3.yoda'][i]) for i in range(len(xpoints['alpha3.yoda']))], [abs(xedges['alpha3.yoda'][i+1] - xpoints['alpha3.yoda'][i]) for i in range(len(xpoints['alpha3.yoda']))] ] yvals = { 'alpha3.yoda' : [0.0, 0.0, 0.0, 0.0, 1845.2294000000004, 3158.3480000000004, 2994.1300000000006, 2700.397999999998, 2420.3040000000005, 2183.3280000000004, 1981.1557999999982, 1815.0474000000024, 1669.1447999999984, 1548.7404000000022, 1441.8803999999986, 1348.3583999999987, 1264.9858000000017, 1187.9203999999988, 1122.5104000000015, 1067.2959999999991], } xerrs = { 'alpha3.yoda' : [ [0.025, 0.024999999999999994, 0.024999999999999994, 0.025000000000000022, 0.024999999999999994, 0.024999999999999967, 0.025000000000000022, 0.025000000000000022, 0.024999999999999967, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.02499999999999991, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.02499999999999991, 0.025000000000000022], [0.025, 0.02500000000000001, 0.024999999999999994, 0.024999999999999994, 0.024999999999999994, 0.025000000000000022, 0.024999999999999967, 0.025000000000000022, 0.025000000000000022, 0.024999999999999967, 0.025000000000000022, 0.02499999999999991, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022, 0.02499999999999991, 0.025000000000000022, 0.025000000000000022, 0.025000000000000022], ], } yerrs = { 'alpha3.yoda' : [ [0.0, 0.0, 0.0, 0.0, 119.11433163142044, 203.87662936197472, 193.27632032921164, 174.3162413546137, 156.23810034687443, 140.94177521231953, 127.89171982579627, 117.1698083978976, 107.75420177422308, 99.98057811395184, 93.0845207325041, 87.05359268864201, 81.66734965700809, 76.69453696320221, 72.47377456708057, 68.9085190669484], [0.0, 0.0, 0.0, 0.0, 119.11433163142044, 203.87662936197472, 193.27632032921164, 174.3162413546137, 156.23810034687443, 140.94177521231953, 127.89171982579627, 117.1698083978976, 107.75420177422308, 99.98057811395184, 93.0845207325041, 87.05359268864201, 81.66734965700809, 76.69453696320221, 72.47377456708057, 68.9085190669484], ], } variation_yvals = { } # lists for ratio plot ratio0_yvals = { 'alpha3.yoda' : [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], } ratio0_yerrs = { 'alpha3.yoda' : [ [1.0, 1.0, 1.0, 1.0, 0.06455258713709007, 0.06455166731531, 0.06455174636011517, 0.06455205542094677, 0.06455308934203076, 0.06455364251835707, 0.06455409505188657, 0.06455468237242588, 0.06455653324638053, 0.06455605995294737, 0.06455772665507083, 0.06456265091584114, 0.06455989439328724, 0.06456201691898067, 0.06456401167158939, 0.06456364407525977], [1.0, 1.0, 1.0, 1.0, 0.06455258713709007, 0.06455166731531, 0.06455174636011517, 0.06455205542094677, 0.06455308934203076, 0.06455364251835707, 0.06455409505188657, 0.06455468237242588, 0.06455653324638053, 0.06455605995294737, 0.06455772665507083, 0.06456265091584114, 0.06455989439328724, 0.06456201691898067, 0.06456401167158939, 0.06456364407525977], ], } ratio0_variation_vals = { } ratio_band_edges = { }