+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/lidar.ptd.dat fit 2026-05-06T10:50:20 - INFO: Profile Alignment 0.0.30 2026-05-06T10:50:20 - INFO: Alignment track will be output to /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T10:50:20 - INFO: Input: /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/lidar.ptd.dat 2026-05-06T10:50:20 - INFO: Sonar: True 2026-05-06T10:50:20 - INFO: Method: fit 2026-05-06T10:50:20 - INFO: Shape: /working/shape.shape.json 2026-05-06T10:50:20 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T10:50:20 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-06T10:50:30 - INFO: Reading sonar track took 0.14429259300231934 sec! 2026-05-06T10:50:30 - INFO: Reading sonar alignment track took {0.0006995201110839844} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-06T10:50:30 - INFO: Calculating the size for all frames ... 2026-05-06T10:50:35 - INFO: 200 frames are processed in <4.50> seconds. rate: 44.47 fp/s 2026-05-06T10:50:35 - INFO: Median Scale of {200} frame found to be: {1.6016572412121248} 2026-05-06T10:50:35 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-06T10:50:35 - INFO: Fit to reference shape ... 2026-05-06T10:53:00 - INFO: {12167} frames are processed in {144.02} seconds. Rate: 84.48 fp/s Track data saved to /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/laser_aligned.ptd.dat