diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-25 16:09:17 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-03-25 16:09:17 +0100 |
commit | d038eec253146b4e4ed0592837641f2ae49429e5 (patch) | |
tree | f7f56679c8afe0dfd4962d82a62afbe032f38ceb /bin | |
parent | c6d4e8b0f4a9295006236f8f50cac6bc3e0d00db (diff) |
add pseudo-dataref export for ACM TAPS etc
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-log.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 0b66bdf..50b5648 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -301,7 +301,7 @@ def main(): if args.export_dot: dfatool.cli.export_dot(model, args.export_dot) - if args.export_dref: + if args.export_dref or args.export_pseudo_dref: dref = model.to_dref( static_quality, lut_quality, @@ -321,9 +321,14 @@ def main(): mutual_information[param] ) - dfatool.cli.export_dataref( - args.export_dref, dref, precision=args.dref_precision - ) + if args.export_pseudo_dref: + dfatool.cli.export_pseudo_dref( + args.export_pseudo_dref, dref, precision=args.dref_precision + ) + if args.export_dref: + dfatool.cli.export_dataref( + args.export_dref, dref, precision=args.dref_precision + ) if args.export_json: with open(args.export_json, "w") as f: |