+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/077df8b7-48b6-4521-9cd3-ba8c570113ba/processing/data/laser.ptd.dat fit 2026-05-21T01:12:34 - INFO: Profile Alignment 0.0.32 2026-05-21T01:12:34 - INFO: Alignment track will be output to /working/077df8b7-48b6-4521-9cd3-ba8c570113ba/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-21T01:12:34 - INFO: Input: /working/077df8b7-48b6-4521-9cd3-ba8c570113ba/processing/data/laser.ptd.dat 2026-05-21T01:12:34 - INFO: Sonar: True 2026-05-21T01:12:34 - INFO: Method: fit 2026-05-21T01:12:34 - INFO: Shape: /working/shape.shape.json 2026-05-21T01:12:34 - INFO: Shape info: /working/shape.json 2026-05-21T01:12:34 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T01:12:45 - INFO: Reading sonar track took 0.31526994705200195 sec! 2026-05-21T01:12:45 - INFO: Reading sonar alignment track took {0.0036094188690185547} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T01:12:45 - INFO: Calculating the size for all frames ... 2026-05-21T01:12:50 - INFO: 200 frames are processed in 4.62 seconds. rate: 43.33 fp/s 2026-05-21T01:12:50 - INFO: Median Scale of 200 frame found to be: 1.4130099002958398 2026-05-21T01:12:50 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T01:12:50 - INFO: Fit to reference shape ... 2026-05-21T01:15:35 - INFO: {15310} frames are processed in {164.39} seconds. Rate: 93.13 fp/s Track data saved to /working/077df8b7-48b6-4521-9cd3-ba8c570113ba/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/077df8b7-48b6-4521-9cd3-ba8c570113ba/processing/data/laser_aligned.ptd.dat