+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser.ptd.dat fit 2026-05-08T02:49:34 - INFO: Profile Alignment 0.0.30 2026-05-08T02:49:34 - INFO: Alignment track will be output to /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-08T02:49:34 - INFO: Input: /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser.ptd.dat 2026-05-08T02:49:34 - INFO: Sonar: True 2026-05-08T02:49:34 - INFO: Method: fit 2026-05-08T02:49:34 - INFO: Shape: /working/shape.shape.json 2026-05-08T02:49:34 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-08T02:49:34 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-08T02:49:48 - INFO: Reading sonar track took 0.06590390205383301 sec! 2026-05-08T02:49:48 - INFO: Reading sonar alignment track took {0.0005545616149902344} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-08T02:49:49 - INFO: Calculating the size for all frames ... 2026-05-08T02:49:54 - INFO: 200 frames are processed in <5.68> seconds. rate: 35.20 fp/s 2026-05-08T02:49:54 - INFO: Median Scale of {200} frame found to be: {1.0467805108114496} 2026-05-08T02:49:54 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-08T02:49:54 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-08T02:54:51 - INFO: {30285} frames are processed in {295.27} seconds. Rate: 102.57 fp/s Track data saved to /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/f2ac966f-9e5a-4f8e-a06c-13643d189a3e/processing/data/laser_aligned.ptd.dat