import numpy as np from numpy import nan add_legend_handle = [ 'alpha3.yoda' ] xpoints = { 'alpha3.yoda' : [0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5], } xedges = { 'alpha3.yoda' : [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.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' : [809.0186, 440.4219, 173.203, 50.02423, 11.10787, 1.982596, 0.2965054, 0.03788744, 0.004202454, 0.0004744706], } xerrs = { 'alpha3.yoda' : [ [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5], [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5], ], } yerrs = { 'alpha3.yoda' : [ [68.37457860930479, 37.22246633419124, 14.638336654142096, 4.227825682309998, 0.9387908712807128, 0.16756565877291205, 0.025065228903802177, 0.0032064996491501445, 0.0003595038247362606, 4.581730022600633e-05], [68.37457860930479, 37.22246633419124, 14.638336654142096, 4.227825682309998, 0.9387908712807128, 0.16756565877291205, 0.025065228903802177, 0.0032064996491501445, 0.0003595038247362606, 4.581730022600633e-05], ], } 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], } ratio0_yerrs = { 'alpha3.yoda' : [ [0.08451545935940755, 0.08451547557964588, 0.08451549138376412, 0.08451555740708049, 0.0845158316833662, 0.08451830770006197, 0.08453548874253952, 0.08463225937540632, 0.08554616534440605, 0.09656509850348227], [0.08451545935940755, 0.08451547557964588, 0.08451549138376412, 0.08451555740708049, 0.0845158316833662, 0.08451830770006197, 0.08453548874253952, 0.08463225937540632, 0.08554616534440605, 0.09656509850348227], ], } ratio0_variation_vals = { } ratio_band_edges = { }