+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/1caccd6a-ca4d-46bd-84f1-2b5ea23bcb8e/processing/data/laser.ptd.dat fit 2026-05-21T01:11:13 - INFO: Profile Alignment 0.0.32 2026-05-21T01:11:13 - INFO: Alignment track will be output to /working/1caccd6a-ca4d-46bd-84f1-2b5ea23bcb8e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-21T01:11:13 - INFO: Input: /working/1caccd6a-ca4d-46bd-84f1-2b5ea23bcb8e/processing/data/laser.ptd.dat 2026-05-21T01:11:13 - INFO: Sonar: True 2026-05-21T01:11:13 - INFO: Method: fit 2026-05-21T01:11:13 - INFO: Shape: /working/shape.shape.json 2026-05-21T01:11:13 - INFO: Shape info: /working/shape.json 2026-05-21T01:11:13 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-21T01:11:17 - INFO: Reading sonar track took 0.15877151489257812 sec! 2026-05-21T01:11:17 - INFO: Reading sonar alignment track took {0.0006835460662841797} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-21T01:11:18 - INFO: Calculating the size for all frames ... 2026-05-21T01:11:26 - INFO: 200 frames are processed in 8.27 seconds. rate: 24.18 fp/s 2026-05-21T01:11:26 - INFO: Median Scale of 200 frame found to be: 1.2680386439243176 2026-05-21T01:11:26 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-21T01:11:26 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-21T01:13:32 - INFO: {9752} frames are processed in {125.08} seconds. Rate: 77.97 fp/s Track data saved to /working/1caccd6a-ca4d-46bd-84f1-2b5ea23bcb8e/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/1caccd6a-ca4d-46bd-84f1-2b5ea23bcb8e/processing/data/laser_aligned.ptd.dat