import numpy as np from numpy import nan add_legend_handle = [ '_alpha3.yoda' ] xpoints = { '_alpha3.yoda' : [-0.5, 0.5], } xedges = { '_alpha3.yoda' : [-1.0, 0.0, 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, 1484.338], } xerrs = { '_alpha3.yoda' : [ [0.5, 0.5], [0.5, 0.5], ], } yerrs = { '_alpha3.yoda' : [ [0.0, 0.06638161], [0.0, 0.06638161], ], } variation_yvals = { } # lists for ratio plot ratio0_yvals = { '_alpha3.yoda' : [1.0, 1.0], } ratio0_yerrs = { '_alpha3.yoda' : [ [1.0, 4.4721357264989505e-05], [1.0, 4.4721357264989505e-05], ], } ratio0_variation_vals = { } ratio_band_edges = { }