+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/2172a7ca-fdb8-4b17-af55-a935b0a95fc4/processing/data/laser.ptd.dat fit 2026-05-21T04:32:13 - INFO: Profile Alignment 0.0.32 2026-05-21T04:32:13 - INFO: Alignment track will be output to /working/2172a7ca-fdb8-4b17-af55-a935b0a95fc4/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-21T04:32:13 - INFO: Input: /working/2172a7ca-fdb8-4b17-af55-a935b0a95fc4/processing/data/laser.ptd.dat 2026-05-21T04:32:13 - INFO: Sonar: True 2026-05-21T04:32:13 - INFO: Method: fit 2026-05-21T04:32:13 - INFO: Shape: /working/shape.shape.json 2026-05-21T04:32:13 - INFO: Shape info: /working/shape.json 2026-05-21T04:32:13 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T04:32:19 - INFO: Reading sonar track took 0.11319708824157715 sec! 2026-05-21T04:32:19 - INFO: Reading sonar alignment track took {0.0060825347900390625} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T04:32:19 - INFO: Calculating the size for all frames ... 2026-05-21T04:32:24 - INFO: 200 frames are processed in 4.65 seconds. rate: 43.02 fp/s 2026-05-21T04:32:24 - INFO: Median Scale of 200 frame found to be: 1.3947019045916558 2026-05-21T04:32:24 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T04:32:24 - INFO: Fit to reference shape ... 2026-05-21T04:33:28 - INFO: {9052} frames are processed in {63.54} seconds. Rate: 142.45 fp/s Track data saved to /working/2172a7ca-fdb8-4b17-af55-a935b0a95fc4/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/2172a7ca-fdb8-4b17-af55-a935b0a95fc4/processing/data/laser_aligned.ptd.dat