+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser.ptd.dat fit 2026-05-20T01:13:01 - INFO: Profile Alignment 0.0.32 2026-05-20T01:13:01 - INFO: Alignment track will be output to /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:13:01 - INFO: Input: /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser.ptd.dat 2026-05-20T01:13:01 - INFO: Sonar: True 2026-05-20T01:13:01 - INFO: Method: fit 2026-05-20T01:13:01 - INFO: Shape: /working/shape.shape.json 2026-05-20T01:13:01 - INFO: Shape info: /working/shape.json 2026-05-20T01:13:01 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-20T01:13:07 - INFO: Reading sonar track took 0.13770604133605957 sec! 2026-05-20T01:13:07 - INFO: Reading sonar alignment track took {0.0006155967712402344} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-20T01:13:08 - INFO: Calculating the size for all frames ... 2026-05-20T01:13:16 - INFO: 200 frames are processed in 8.40 seconds. rate: 23.80 fp/s 2026-05-20T01:13:16 - INFO: Median Scale of 200 frame found to be: 1.3727753898636217 2026-05-20T01:13:16 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-20T01:13:16 - INFO: Fit to reference shape ... 2026-05-20T01:14:12 - INFO: {7786} frames are processed in {55.33} seconds. Rate: 140.72 fp/s Track data saved to /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/51d4a304-5b43-43f8-aa4c-3c4d61033a0f/processing/data/laser_aligned.ptd.dat