import numpy as np from numpy import nan add_legend_handle = [ '_alpha1.yoda' ] xpoints = { '_alpha1.yoda' : [-0.5, 0.5], } xedges = { '_alpha1.yoda' : [-1.0, 0.0, 1.0], } ref_xerrs = [ [abs(xpoints['_alpha1.yoda'][i] - xedges['_alpha1.yoda'][i]) for i in range(len(xpoints['_alpha1.yoda']))], [abs(xedges['_alpha1.yoda'][i+1] - xpoints['_alpha1.yoda'][i]) for i in range(len(xpoints['_alpha1.yoda']))] ] yvals = { '_alpha1.yoda' : [0.0, 1481.386], } xerrs = { '_alpha1.yoda' : [ [0.5, 0.5], [0.5, 0.5], ], } yerrs = { '_alpha1.yoda' : [ [0.0, 0.06624957], [0.0, 0.06624957], ], } variation_yvals = { } # lists for ratio plot ratio0_yvals = { '_alpha1.yoda' : [1.0, 1.0], } ratio0_yerrs = { '_alpha1.yoda' : [ [1.0, 4.472134204049451e-05], [1.0, 4.472134204049451e-05], ], } ratio0_variation_vals = { } ratio_band_edges = { }