From 5e91cebabc96f7147c002feac18282d5fb001b2b Mon Sep 17 00:00:00 2001 From: Amedeo Chiefa <103528316+achiefa@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:44:48 +0100 Subject: [PATCH] Add docstring to `generate_data` --- .../nnpdf_data/commondata/CMS_WCHARM_7TEV/filter_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_7TEV/filter_utils.py b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_7TEV/filter_utils.py index 097d5dc0de..1dbc3e44d5 100644 --- a/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_7TEV/filter_utils.py +++ b/nnpdf_data/nnpdf_data/commondata/CMS_WCHARM_7TEV/filter_utils.py @@ -208,6 +208,10 @@ def generate_covmat(self, diag_uncs=None): return covmat def generate_data(self): + ''' + Collect central data, kinematics, and uncertainties and save them into + yaml files. + ''' # Get central data and kinematics central_data, stat_unc, sys_unc = self.generate_data_and_unc(self.mult_factor) kinematics = self.generate_kinematics()