summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dlog-viewer6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/dlog-viewer b/bin/dlog-viewer
index f564168..24c6d37 100755
--- a/bin/dlog-viewer
+++ b/bin/dlog-viewer
@@ -523,6 +523,12 @@ def main():
if args.pelt:
changepoints = detect_changepoints(dlog, num_samples=args.pelt)
+ for i, slot in enumerate(changepoints):
+ for unit in slot:
+ num_changepoints = len(slot[unit])
+ print(
+ f"Found {num_changepoints} changepoints for {dlog.slots[i][unit].smu} {unit}"
+ )
if args.json_export:
extra_data = dict()