+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser.ptd.dat fit 2026-07-10T07:06:57 - INFO: Profile Alignment 0.0.36 2026-07-10T07:06:57 - INFO: Alignment track will be output to /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-10T07:06:57 - INFO: Input: /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser.ptd.dat 2026-07-10T07:06:57 - INFO: Sonar: True 2026-07-10T07:06:57 - INFO: Method: fit 2026-07-10T07:06:57 - INFO: Shape: /working/shape.shape.json 2026-07-10T07:06:57 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-10T07:06:57 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-10T07:07:08 - INFO: Reading sonar track took 0.08115005493164062 sec! 2026-07-10T07:07:08 - INFO: Reading sonar alignment track took {0.0005373954772949219} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-10T07:07:09 - INFO: Calculating the size for all frames ... 2026-07-10T07:07:13 - INFO: 200 frames are processed in 3.63 seconds. rate: 55.15 fp/s 2026-07-10T07:07:13 - INFO: Median Scale of 200 frame found to be: 1.0476440614927043 2026-07-10T07:07:13 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-10T07:07:13 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-07-10T07:10:31 - INFO: {30304} frames are processed in {196.71} seconds. Rate: 154.06 fp/s Track data saved to /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser_aligned.ptd.dat