+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser.ptd.dat fit 2026-06-23T00:13:47 - INFO: Profile Alignment 0.0.36 2026-06-23T00:13:47 - INFO: Alignment track will be output to /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-23T00:13:47 - INFO: Input: /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser.ptd.dat 2026-06-23T00:13:47 - INFO: Sonar: True =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-23T00:13:47 - INFO: Method: fit 2026-06-23T00:13:47 - INFO: Shape: /working/shape.shape.json 2026-06-23T00:13:47 - INFO: Shape info: /working/shape.json 2026-06-23T00:13:47 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-23T00:13:52 - INFO: Reading sonar track took 0.24608874320983887 sec! 2026-06-23T00:13:52 - INFO: Reading sonar alignment track took {0.0005595684051513672} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-23T00:13:53 - INFO: Calculating the size for all frames ... 2026-06-23T00:14:00 - INFO: 200 frames are processed in 7.45 seconds. rate: 26.86 fp/s 2026-06-23T00:14:00 - INFO: Median Scale of 200 frame found to be: 0.8971275709543348 2026-06-23T00:14:00 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-23T00:14:00 - INFO: Fit to reference shape ... 2026-06-23T00:16:03 - INFO: {11492} frames are processed in {121.57} seconds. Rate: 94.53 fp/s Track data saved to /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser_aligned.ptd.dat