+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/837a485c-bbe7-4314-adf2-838875716b39/processing/data/laser.ptd.dat fit 2026-06-17T00:32:37 - INFO: Profile Alignment 0.0.36 2026-06-17T00:32:37 - INFO: Alignment track will be output to /working/837a485c-bbe7-4314-adf2-838875716b39/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-17T00:32:37 - INFO: Input: /working/837a485c-bbe7-4314-adf2-838875716b39/processing/data/laser.ptd.dat 2026-06-17T00:32:37 - INFO: Sonar: True 2026-06-17T00:32:37 - INFO: Method: fit 2026-06-17T00:32:37 - INFO: Shape: /working/shape.shape.json 2026-06-17T00:32:37 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-17T00:32:37 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-17T00:32:39 - INFO: Reading sonar track took 0.04584765434265137 sec! 2026-06-17T00:32:39 - INFO: Reading sonar alignment track took {0.003080606460571289} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-17T00:32:40 - INFO: Calculating the size for all frames ... 2026-06-17T00:32:44 - INFO: 200 frames are processed in 4.82 seconds. rate: 41.53 fp/s 2026-06-17T00:32:44 - INFO: Median Scale of 200 frame found to be: 1.4845293670858997 2026-06-17T00:32:44 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-17T00:32:44 - INFO: Fit to reference shape ... 2026-06-17T00:33:16 - INFO: {3958} frames are processed in {31.58} seconds. Rate: 125.34 fp/s Track data saved to /working/837a485c-bbe7-4314-adf2-838875716b39/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/837a485c-bbe7-4314-adf2-838875716b39/processing/data/laser_aligned.ptd.dat