+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat fit 2026-05-26T03:09:13 - INFO: Profile Alignment 0.0.32 2026-05-26T03:09:13 - INFO: Alignment track will be output to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-26T03:09:13 - INFO: Input: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat 2026-05-26T03:09:13 - INFO: Sonar: True 2026-05-26T03:09:13 - INFO: Method: fit 2026-05-26T03:09:13 - INFO: Shape: /working/shape.shape.json 2026-05-26T03:09:13 - INFO: Shape info: /working/shape.json 2026-05-26T03:09:13 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-26T03:09:14 - INFO: Reading sonar track took 0.007626771926879883 sec! 2026-05-26T03:09:14 - INFO: Reading sonar alignment track took {0.0007195472717285156} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-26T03:09:14 - INFO: Calculating the size for all frames ... 2026-05-26T03:09:17 - INFO: 200 frames are processed in 3.81 seconds. rate: 52.55 fp/s 2026-05-26T03:09:17 - INFO: Median Scale of 200 frame found to be: 1.1224833422057026 2026-05-26T03:09:17 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-26T03:09:17 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-26T03:09:23 - INFO: {1167} frames are processed in {5.51} seconds. Rate: 211.95 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