diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-11 07:51:17 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-11 07:51:17 +0100 |
commit | f4af48cf398b92b17a9a718416cf18ea1d956375 (patch) | |
tree | 045743e671563ac31f2b64bad4ff3a9030c3f1c8 /lib/dfatool.py | |
parent | 5bf60653d0dba3f1e0dd44f8403b478a2107b3bd (diff) |
PTA: add attribute error measures to JSON model
Diffstat (limited to 'lib/dfatool.py')
-rw-r--r-- | lib/dfatool.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py index 9583d73..607028e 100644 --- a/lib/dfatool.py +++ b/lib/dfatool.py @@ -2025,8 +2025,10 @@ class PTAModel: def to_json(self): static_model = self.get_static() - _, param_info = self.get_fitted() - self.pta.update(static_model, param_info) + static_quality = self.assess(static_model) + param_model, param_info = self.get_fitted() + analytic_quality = self.assess(param_model) + self.pta.update(static_model, param_info, static_error=static_quality['by_name'], analytic_error=analytic_quality['by_name']) return self.pta.to_json() def states(self): |