+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data/lidar.ptd.dat fit 2026-05-06T11:24:40 - INFO: Profile Alignment 0.0.30 2026-05-06T11:24:40 - INFO: Alignment track will be output to /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-06T11:24:40 - INFO: Input: /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data/lidar.ptd.dat 2026-05-06T11:24:40 - INFO: Sonar: True 2026-05-06T11:24:40 - INFO: Method: fit 2026-05-06T11:24:40 - INFO: Shape: /working/shape.shape.json 2026-05-06T11:24:40 - INFO: Shape info: /working/shape.json 2026-05-06T11:24:40 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-06T11:24:51 - INFO: Reading sonar track took 0.18581104278564453 sec! 2026-05-06T11:24:51 - INFO: Reading sonar alignment track took {0.0006687641143798828} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-06T11:24:51 - INFO: Calculating the size for all frames ... 2026-05-06T11:25:02 - INFO: 200 frames are processed in <11.18> seconds. rate: 17.88 fp/s 2026-05-06T11:25:02 - INFO: Median Scale of {200} frame found to be: {2.23654513879871} 2026-05-06T11:25:02 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-06T11:25:02 - INFO: Fit to reference shape ... 2026-05-06T11:29:03 - INFO: {10384} frames are processed in {239.06} seconds. Rate: 43.44 fp/s Track data saved to /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data/laser_aligned.ptd.dat