+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/7902d1b0-c3be-4dd5-bc2e-9f2650911baf/processing/data/laser.ptd.dat fit 2026-05-20T02:52:32 - INFO: Profile Alignment 0.0.32 2026-05-20T02:52:32 - INFO: Alignment track will be output to /working/7902d1b0-c3be-4dd5-bc2e-9f2650911baf/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T02:52:32 - INFO: Input: /working/7902d1b0-c3be-4dd5-bc2e-9f2650911baf/processing/data/laser.ptd.dat 2026-05-20T02:52:32 - INFO: Sonar: True 2026-05-20T02:52:32 - INFO: Method: fit 2026-05-20T02:52:32 - INFO: Shape: /working/shape.shape.json 2026-05-20T02:52:32 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T02:52:32 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-20T02:52:32 - INFO: Reading sonar track took 0.013023853302001953 sec! 2026-05-20T02:52:32 - INFO: Reading sonar alignment track took {0.0042572021484375} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-20T02:52:32 - INFO: Calculating the size for all frames ... 2026-05-20T02:52:36 - INFO: 200 frames are processed in 4.14 seconds. rate: 48.28 fp/s 2026-05-20T02:52:36 - INFO: Median Scale of 200 frame found to be: 1.0463489977584048 2026-05-20T02:52:36 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-20T02:52:36 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-20T02:52:38 - INFO: {364} frames are processed in {2.15} seconds. Rate: 169.26 fp/s Track data saved to /working/7902d1b0-c3be-4dd5-bc2e-9f2650911baf/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/7902d1b0-c3be-4dd5-bc2e-9f2650911baf/processing/data/laser_aligned.ptd.dat