+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/24349c20-5de9-4530-8145-6cebe1b0bc59/processing/data/laser.ptd.dat fit 2026-05-27T23:26:32 - INFO: Profile Alignment 0.0.32 2026-05-27T23:26:32 - INFO: Alignment track will be output to /working/24349c20-5de9-4530-8145-6cebe1b0bc59/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-27T23:26:32 - INFO: Input: /working/24349c20-5de9-4530-8145-6cebe1b0bc59/processing/data/laser.ptd.dat 2026-05-27T23:26:32 - INFO: Sonar: True 2026-05-27T23:26:32 - INFO: Method: fit 2026-05-27T23:26:32 - INFO: Shape: /working/shape.shape.json 2026-05-27T23:26:32 - INFO: Shape info: /working/shape.json 2026-05-27T23:26:32 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-27T23:26:43 - INFO: Reading sonar track took 0.24557852745056152 sec! 2026-05-27T23:26:43 - INFO: Reading sonar alignment track took {0.0007812976837158203} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-27T23:26:43 - INFO: Calculating the size for all frames ... 2026-05-27T23:26:49 - INFO: 200 frames are processed in 5.88 seconds. rate: 34.02 fp/s 2026-05-27T23:26:49 - INFO: Median Scale of 200 frame found to be: 1.4725617499405563 2026-05-27T23:26:49 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-27T23:26:49 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-27T23:30:10 - INFO: {20329} frames are processed in {199.89} seconds. Rate: 101.70 fp/s Track data saved to /working/24349c20-5de9-4530-8145-6cebe1b0bc59/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/24349c20-5de9-4530-8145-6cebe1b0bc59/processing/data/laser_aligned.ptd.dat