Commit a7f1ef30 authored by Benjamin Schwenker's avatar Benjamin Schwenker
Browse files

add TOP to reporting

parent 4ba5327f
......@@ -858,6 +858,40 @@ def make_reports(year, month, day, data_path, tag, shift, look_back, ref_times,
)
channels.append(channel)
# Report on hitrate
config = get_config(os.path.join(config_path, 'training_default.yaml'))
channel = "TOP_TYPE2_avg_scalerRate_PMT17-32"
report_on_hitrate(
channel=channel,
tag=tag,
obs=channel,
obs_unit="Hz",
config=config,
feature_names=[],
template_path=os.path.join(config_path, 'templates/daily_report_hitrate_template.tex'),
year=year,
month=month,
day=day,
data_path=data_path,
look_back=look_back,
ref_times=ref_times,
test_times=test_times,
train_times=train_times,
top_k=15,
freq="5min",
report_path=report_path,
convert_config=hitrate.convert_config,
load_data_from_path=hitrate.load_data_from_path,
train_scalers_on_preprocessed_data=hitrate.train_scalers_on_preprocessed_data,
get_model=hitrate.get_model,
run_training=hitrate.run_training,
get_pathexplain_datasets=hitrate.get_pathexplain_datasets,
make_default_plots=bg_net.report_utils.make_default_plots,
shift=shift,
)
channels.append(channel)
# Report on channel lumi
config = get_config(os.path.join(config_path, 'training_lumi.yaml'))
channel = 'lumi'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment