def load_files(avg_file, std_file):
# load files
with open(avg_file) as f:
avg = simplejson.load(f)
with open(std_file) as f:
std = simplejson.load(f)
std = np.array(std)
print std
std = np.true_divide(std, 2.)
print std
avg = np.array(avg)
avg_upper = avg + std
avg_lower = avg - std
return avg, avg_upper, avg_lower
评论列表
文章目录