summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 07:25:10 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 07:25:10 +0100
commit878347e4b777481038e7d58b7251fde11858f358 (patch)
tree1ea40a40e9dfab4ee79326a20d3204fa0319abad
parentc40e7cabda63a7c0039aff2d69645afd2f4969c1 (diff)
analyze-log: add --export-dref support
-rwxr-xr-xbin/analyze-log.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index 11d8f87..9b50c72 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -308,6 +308,12 @@ def main():
if args.export_dot:
dfatool.cli.export_dot(model, args.export_dot)
+ if args.export_dref:
+ dref = model.to_dref(static_quality, lut_quality, analytic_quality)
+ dfatool.cli.export_dataref(
+ args.export_dref, dref, precision=args.dref_precision
+ )
+
if args.plot_param:
for kv in args.plot_param.split(";"):
try: