+ [ 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-07T06:39:46 - INFO: Profile Alignment 0.0.30 2026-05-07T06:39:46 - INFO: Alignment track will be output to /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T06:39:46 - INFO: Input: /working/61c8a180-d15f-4b3a-a76e-886bcfc1aec6/processing/data/lidar.ptd.dat 2026-05-07T06:39:46 - INFO: Sonar: True 2026-05-07T06:39:46 - INFO: Method: fit 2026-05-07T06:39:46 - INFO: Shape: /working/shape.shape.json 2026-05-07T06:39:46 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T06:39:46 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-07T06:39:54 - INFO: Reading sonar track took 0.12226533889770508 sec! 2026-05-07T06:39:54 - INFO: Reading sonar alignment track took {0.0008645057678222656} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-07T06:39:55 - INFO: Calculating the size for all frames ... 2026-05-07T06:40:03 - INFO: 200 frames are processed in <7.64> seconds. rate: 26.19 fp/s 2026-05-07T06:40:03 - INFO: Median Scale of {200} frame found to be: {2.2362398085117277} 2026-05-07T06:40:03 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-07T06:40:03 - INFO: Fit to reference shape ... 2026-05-07T06:42:36 - INFO: {10385} frames are processed in {152.58} seconds. Rate: 68.06 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