+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/fcaa7ee1-7713-4b9c-8935-35292f41cb72/processing/data/laser.ptd.dat fit 2026-05-21T01:13:43 - INFO: Profile Alignment 0.0.32 2026-05-21T01:13:43 - INFO: Alignment track will be output to /working/fcaa7ee1-7713-4b9c-8935-35292f41cb72/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-21T01:13:43 - INFO: Input: /working/fcaa7ee1-7713-4b9c-8935-35292f41cb72/processing/data/laser.ptd.dat 2026-05-21T01:13:43 - INFO: Sonar: True 2026-05-21T01:13:43 - INFO: Method: fit 2026-05-21T01:13:43 - INFO: Shape: /working/shape.shape.json 2026-05-21T01:13:43 - INFO: Shape info: /working/shape.json 2026-05-21T01:13:43 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T01:13:51 - INFO: Reading sonar track took 0.17487525939941406 sec! 2026-05-21T01:13:51 - INFO: Reading sonar alignment track took {0.006081342697143555} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T01:13:52 - INFO: Calculating the size for all frames ... 2026-05-21T01:14:02 - INFO: 200 frames are processed in 9.73 seconds. rate: 20.56 fp/s 2026-05-21T01:14:02 - INFO: Median Scale of 200 frame found to be: 1.376362814675349 2026-05-21T01:14:02 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T01:14:02 - INFO: Fit to reference shape ... 2026-05-21T01:16:08 - INFO: {10169} frames are processed in {125.17} seconds. Rate: 81.24 fp/s Track data saved to /working/fcaa7ee1-7713-4b9c-8935-35292f41cb72/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/fcaa7ee1-7713-4b9c-8935-35292f41cb72/processing/data/laser_aligned.ptd.dat