ml4eft.plotting.features.plot_features#

ml4eft.plotting.features.plot_features(df_sm, dfs_eft, features, legend_labels)[source]#

Produces a plot showing the distribution of the training features

Parameters
  • df_sm (pd.DataFrame) – Standard Model events

  • dfs_eft (list) – List of panda dataframes with EFT events

  • features (dict) – Of the form {‘kinematic_feature’: ‘latex_string’ }

  • legend_labels (list) – List of legend elements

Returns

Figure showing the distribution of the kinematic features under the SM and the EFT

Return type

matplotlib.figure.Figure