get_evt_subarray_model_output#

protopipe.benchmarks.get_evt_subarray_model_output(data, weight_name='reco_energy_tel_weigth', keep_cols=['reco_energy'], model_output_name='reco_energy_tel', model_output_name_evt='reco_energy')[source]#

Returns DataStore with keepcols + score/target columns of model at the level-subarray-event.

Parameters
data: `~pandas.DataFrame`

Data frame

weight_name: `str`

Variable name in data frame to weight events with

keep_cols: `list`, optional

List of variables to keep in resulting data frame

model_output_name: `str`, optional

Name of model output (image level)

model_output_name_evt: `str`, optional

Name of averaged model output (shower level)

Returns
data: ~pandas.DataFrame

Data frame