+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser.ptd.dat fit 2026-06-09T02:16:37 - INFO: Profile Alignment 0.0.35 2026-06-09T02:16:37 - INFO: Alignment track will be output to /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-09T02:16:37 - INFO: Input: /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser.ptd.dat 2026-06-09T02:16:37 - INFO: Sonar: True 2026-06-09T02:16:37 - INFO: Method: fit 2026-06-09T02:16:37 - INFO: Shape: /working/shape.shape.json 2026-06-09T02:16:37 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-09T02:16:37 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-09T02:16:43 - INFO: Reading sonar track took 0.01224660873413086 sec! 2026-06-09T02:16:43 - INFO: Reading sonar alignment track took {0.0006978511810302734} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-09T02:16:43 - INFO: Calculating the size for all frames ... 2026-06-09T02:16:47 - INFO: 200 frames are processed in 4.27 seconds. rate: 46.84 fp/s 2026-06-09T02:16:47 - INFO: Median Scale of 200 frame found to be: 1.0461192624263584 2026-06-09T02:16:47 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-09T02:16:47 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-09T02:18:51 - INFO: {12382} frames are processed in {123.06} seconds. Rate: 100.62 fp/s Track data saved to /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser_aligned.ptd.dat