+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/3ae5ab84-95c2-412f-9200-5489a9cd0bb7/processing/data/laser.ptd.dat fit 2026-06-22T03:21:18 - INFO: Profile Alignment 0.0.36 2026-06-22T03:21:18 - INFO: Alignment track will be output to /working/3ae5ab84-95c2-412f-9200-5489a9cd0bb7/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-22T03:21:18 - INFO: Input: /working/3ae5ab84-95c2-412f-9200-5489a9cd0bb7/processing/data/laser.ptd.dat 2026-06-22T03:21:18 - INFO: Sonar: True 2026-06-22T03:21:18 - INFO: Method: fit 2026-06-22T03:21:18 - INFO: Shape: /working/shape.shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-22T03:21:18 - INFO: Shape info: /working/shape.json 2026-06-22T03:21:18 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-22T03:21:20 - INFO: Reading sonar track took 0.034613609313964844 sec! 2026-06-22T03:21:20 - INFO: Reading sonar alignment track took {0.0008533000946044922} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-22T03:21:20 - INFO: Calculating the size for all frames ... 2026-06-22T03:21:28 - INFO: 200 frames are processed in 7.60 seconds. rate: 26.33 fp/s 2026-06-22T03:21:28 - INFO: Median Scale of 200 frame found to be: 1.1920726927920873 2026-06-22T03:21:28 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-22T03:21:28 - INFO: Fit to reference shape ... 2026-06-22T03:22:16 - INFO: {5263} frames are processed in {47.25} seconds. Rate: 111.39 fp/s Track data saved to /working/3ae5ab84-95c2-412f-9200-5489a9cd0bb7/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/3ae5ab84-95c2-412f-9200-5489a9cd0bb7/processing/data/laser_aligned.ptd.dat