+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/6148ab4a-6aff-4948-83e1-78c7c5bae5bc/processing/data/laser.ptd.dat fit 2026-05-26T20:47:10 - INFO: Profile Alignment 0.0.32 2026-05-26T20:47:10 - INFO: Alignment track will be output to /working/6148ab4a-6aff-4948-83e1-78c7c5bae5bc/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-26T20:47:10 - INFO: Input: /working/6148ab4a-6aff-4948-83e1-78c7c5bae5bc/processing/data/laser.ptd.dat 2026-05-26T20:47:10 - INFO: Sonar: True 2026-05-26T20:47:10 - INFO: Method: fit 2026-05-26T20:47:10 - INFO: Shape: /working/shape.shape.json 2026-05-26T20:47:10 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-26T20:47:10 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-26T20:47:12 - INFO: Reading sonar track took 0.0408022403717041 sec! 2026-05-26T20:47:12 - INFO: Reading sonar alignment track took {0.0004258155822753906} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-26T20:47:12 - INFO: Calculating the size for all frames ... 2026-05-26T20:47:17 - INFO: 200 frames are processed in 5.13 seconds. rate: 39.01 fp/s 2026-05-26T20:47:17 - INFO: Median Scale of 200 frame found to be: 1.4475346855288638 2026-05-26T20:47:17 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-26T20:47:17 - INFO: Fit to reference shape ... 2026-05-26T20:47:48 - INFO: {4235} frames are processed in {31.09} seconds. Rate: 136.20 fp/s Track data saved to /working/6148ab4a-6aff-4948-83e1-78c7c5bae5bc/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/6148ab4a-6aff-4948-83e1-78c7c5bae5bc/processing/data/laser_aligned.ptd.dat