+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser.ptd.dat fit 2026-05-21T01:11:17 - INFO: Profile Alignment 0.0.32 2026-05-21T01:11:17 - INFO: Alignment track will be output to /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-21T01:11:17 - INFO: Input: /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser.ptd.dat 2026-05-21T01:11:17 - INFO: Sonar: True 2026-05-21T01:11:17 - INFO: Method: fit 2026-05-21T01:11:17 - INFO: Shape: /working/shape.shape.json 2026-05-21T01:11:17 - INFO: Shape info: /working/shape.json 2026-05-21T01:11:17 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T01:11:23 - INFO: Reading sonar track took 0.1396784782409668 sec! 2026-05-21T01:11:23 - INFO: Reading sonar alignment track took {0.0037119388580322266} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T01:11:24 - INFO: Calculating the size for all frames ... 2026-05-21T01:11:32 - INFO: 200 frames are processed in 8.01 seconds. rate: 24.97 fp/s 2026-05-21T01:11:32 - INFO: Median Scale of 200 frame found to be: 1.371523049149694 2026-05-21T01:11:32 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T01:11:32 - INFO: Fit to reference shape ... 2026-05-21T01:12:41 - INFO: {7786} frames are processed in {68.96} seconds. Rate: 112.90 fp/s Track data saved to /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser_aligned.ptd.dat