+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/373cceea-a768-4f18-a0d2-a54348288e9c/processing/data/laser.ptd.dat fit 2026-07-20T03:46:14 - INFO: Profile Alignment 0.0.39 2026-07-20T03:46:14 - INFO: Alignment track will be output to /working/373cceea-a768-4f18-a0d2-a54348288e9c/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-20T03:46:14 - INFO: Input: /working/373cceea-a768-4f18-a0d2-a54348288e9c/processing/data/laser.ptd.dat 2026-07-20T03:46:14 - INFO: Sonar: True 2026-07-20T03:46:14 - INFO: Method: fit 2026-07-20T03:46:14 - INFO: Shape: /working/shape.shape.json 2026-07-20T03:46:14 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-20T03:46:14 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-20T03:46:22 - INFO: Reading sonar track took 0.015734434127807617 sec! 2026-07-20T03:46:22 - INFO: Reading sonar alignment track took {0.0012001991271972656} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-20T03:46:22 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-20T03:46:22 - INFO: Calculating the size for all frames ... 2026-07-20T03:46:26 - INFO: 200 frames are processed in 4.04 seconds. rate: 49.51 fp/s 2026-07-20T03:46:26 - INFO: Median Scale of 200 frame found to be: 1.531594995750544 2026-07-20T03:46:26 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-20T03:46:26 - INFO: Fit to reference shape ... 2026-07-20T03:48:11 - INFO: {17735} frames are processed in {103.97} seconds. Rate: 170.58 fp/s Track data saved to /working/373cceea-a768-4f18-a0d2-a54348288e9c/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/373cceea-a768-4f18-a0d2-a54348288e9c/processing/data/laser_aligned.ptd.dat