+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/f9faf422-17f5-4ea8-baac-2790ccc446f3/processing/data/laser.ptd.dat fit 2026-06-09T02:17:36 - INFO: Profile Alignment 0.0.35 2026-06-09T02:17:36 - INFO: Alignment track will be output to /working/f9faf422-17f5-4ea8-baac-2790ccc446f3/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=2026-06-09T02:17:36 - INFO: Input: /working/f9faf422-17f5-4ea8-baac-2790ccc446f3/processing/data/laser.ptd.dat 2026-06-09T02:17:36 - INFO: Sonar: True 2026-06-09T02:17:36 - INFO: Method: fit 2026-06-09T02:17:36 - INFO: Shape: /working/shape.shape.json 2026-06-09T02:17:36 - INFO: Shape info: /working/shape.json 2026-06-09T02:17:36 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-09T02:17:45 - INFO: Reading sonar track took 0.08262920379638672 sec! 2026-06-09T02:17:45 - INFO: Reading sonar alignment track took {0.002535581588745117} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-09T02:17:45 - INFO: Calculating the size for all frames ... 2026-06-09T02:17:54 - INFO: 200 frames are processed in 8.65 seconds. rate: 23.12 fp/s 2026-06-09T02:17:54 - INFO: Median Scale of 200 frame found to be: 0.8989028651679076 2026-06-09T02:17:54 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-09T02:17:54 - INFO: Fit to reference shape ... 2026-06-09T02:20:31 - INFO: {12780} frames are processed in {156.11} seconds. Rate: 81.87 fp/s Track data saved to /working/f9faf422-17f5-4ea8-baac-2790ccc446f3/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/f9faf422-17f5-4ea8-baac-2790ccc446f3/processing/data/laser_aligned.ptd.dat