+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/36237fe2-5ca2-4ddc-88e1-96b48c5c3f4d/processing/data/laser.ptd.dat fit 2026-05-21T00:52:49 - INFO: Profile Alignment 0.0.32 2026-05-21T00:52:49 - INFO: Alignment track will be output to /working/36237fe2-5ca2-4ddc-88e1-96b48c5c3f4d/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-21T00:52:49 - INFO: Input: /working/36237fe2-5ca2-4ddc-88e1-96b48c5c3f4d/processing/data/laser.ptd.dat 2026-05-21T00:52:49 - INFO: Sonar: True 2026-05-21T00:52:49 - INFO: Method: fit 2026-05-21T00:52:49 - INFO: Shape: /working/shape.shape.json 2026-05-21T00:52:49 - INFO: Shape info: /working/shape.json 2026-05-21T00:52:49 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T00:52:58 - INFO: Reading sonar track took 0.22996854782104492 sec! 2026-05-21T00:52:58 - INFO: Reading sonar alignment track took {0.0005450248718261719} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T00:52:59 - INFO: Calculating the size for all frames ... 2026-05-21T00:53:03 - INFO: 200 frames are processed in 4.41 seconds. rate: 45.31 fp/s 2026-05-21T00:53:03 - INFO: Median Scale of 200 frame found to be: 1.2101713427999425 2026-05-21T00:53:03 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T00:53:03 - INFO: Fit to reference shape ... 2026-05-21T00:54:33 - INFO: {16475} frames are processed in {89.07} seconds. Rate: 184.96 fp/s Track data saved to /working/36237fe2-5ca2-4ddc-88e1-96b48c5c3f4d/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/36237fe2-5ca2-4ddc-88e1-96b48c5c3f4d/processing/data/laser_aligned.ptd.dat