# 査読（英語版 11/10）の背景の指摘を受け、(b) だけ残していた計算を (a)（終了時の判定、背景ほぼ 0）も残して回し直す。その1: 種5本の傾き（rev4_c と同じ条件）
import json, math, xsec
for sd in (11,12,13,14,15):
    o={}
    for IB in (4.0,64.0):
        r=xsec.run(IB,X0=48,hold=True,level=True,N=3000,zhi=40.0,k=8.0,seg=True,seed=sd)
        o[IB]=r
    print(json.dumps(dict(seed=sd,total4=round(o[4.0]['sig_total'],2),total64=round(o[64.0]['sig_total'],2),ever4=round(o[4.0]['sig_ever'],2),ever64=round(o[64.0]['sig_ever'],2),slope_total=round(math.log(o[64.0]['sig_total']/o[4.0]['sig_total'])/math.log(16),3))),flush=True)
