+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat fit 2026-07-09T07:41:52 - INFO: Profile Alignment 0.0.36 2026-07-09T07:41:52 - INFO: Alignment track will be output to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-09T07:41:52 - INFO: Input: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat 2026-07-09T07:41:52 - INFO: Sonar: True =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-07-09T07:41:52 - INFO: Method: fit 2026-07-09T07:41:52 - INFO: Shape: /working/shape.shape.json 2026-07-09T07:41:52 - INFO: Shape info: /working/shape.json 2026-07-09T07:41:52 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-09T07:41:56 - INFO: Reading sonar track took 0.1689770221710205 sec! 2026-07-09T07:41:56 - INFO: Reading sonar alignment track took {0.006152629852294922} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-09T07:41:57 - INFO: Calculating the size for all frames ... 2026-07-09T07:42:04 - INFO: 200 frames are processed in 7.28 seconds. rate: 27.48 fp/s 2026-07-09T07:42:04 - INFO: Median Scale of 200 frame found to be: 0.8893672924210144 2026-07-09T07:42:04 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-09T07:42:04 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-07-09T07:43:34 - INFO: {7424} frames are processed in {89.90} seconds. Rate: 82.58 fp/s Track data saved to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser_aligned.ptd.dat