+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat fit 2026-06-03T07:49:41 - INFO: Profile Alignment 0.0.35 2026-06-03T07:49:41 - INFO: Alignment track will be output to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-03T07:49:41 - INFO: Input: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat 2026-06-03T07:49:41 - INFO: Sonar: True 2026-06-03T07:49:41 - INFO: Method: fit 2026-06-03T07:49:41 - INFO: Shape: /working/shape.shape.json 2026-06-03T07:49:41 - INFO: Shape info: /working/shape.json 2026-06-03T07:49:41 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-03T07:49:41 - INFO: Reading sonar track took 0.012096405029296875 sec! 2026-06-03T07:49:41 - INFO: Reading sonar alignment track took {0.00547480583190918} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-03T07:49:41 - INFO: Calculating the size for all frames ... Optimization failed for a frame: ABNORMAL: Optimization failed for a frame: ABNORMAL: 2026-06-03T07:49:48 - INFO: 200 frames are processed in 6.99 seconds. rate: 28.61 fp/s 2026-06-03T07:49:48 - INFO: Median Scale of 200 frame found to be: 1.2123366259029975 2026-06-03T07:49:48 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-03T07:49:48 - INFO: Fit to reference shape ... 2026-06-03T07:49:59 - INFO: {1168} frames are processed in {10.82} seconds. Rate: 107.97 fp/s Track data saved to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser_aligned.ptd.dat