+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/81e57676-9870-47b0-ab8a-66288328f550/processing/data/laser.ptd.dat fit 2026-06-03T07:53:49 - INFO: Profile Alignment 0.0.35 2026-06-03T07:53:49 - INFO: Alignment track will be output to /working/81e57676-9870-47b0-ab8a-66288328f550/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-03T07:53:49 - INFO: Input: /working/81e57676-9870-47b0-ab8a-66288328f550/processing/data/laser.ptd.dat 2026-06-03T07:53:49 - INFO: Sonar: True 2026-06-03T07:53:49 - INFO: Method: fit 2026-06-03T07:53:49 - INFO: Shape: /working/shape.shape.json 2026-06-03T07:53:49 - INFO: Shape info: /working/shape.json 2026-06-03T07:53:49 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-03T07:53:53 - INFO: Reading sonar track took 0.10779142379760742 sec! 2026-06-03T07:53:53 - INFO: Reading sonar alignment track took {0.004964590072631836} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-03T07:53:53 - INFO: Calculating the size for all frames ... 2026-06-03T07:54:01 - INFO: 200 frames are processed in 8.00 seconds. rate: 24.99 fp/s 2026-06-03T07:54:01 - INFO: Median Scale of 200 frame found to be: 1.3223429350226017 2026-06-03T07:54:01 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-03T07:54:01 - INFO: Fit to reference shape ... 2026-06-03T07:55:17 - INFO: {5800} frames are processed in {75.18} seconds. Rate: 77.14 fp/s Track data saved to /working/81e57676-9870-47b0-ab8a-66288328f550/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/81e57676-9870-47b0-ab8a-66288328f550/processing/data/laser_aligned.ptd.dat