+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/1c68f1d2-57f2-4d15-bcb7-ff013acb1a2a/processing/data/laser.ptd.dat fit 2026-05-20T01:15:49 - INFO: Profile Alignment 0.0.32 2026-05-20T01:15:49 - INFO: Alignment track will be output to /working/1c68f1d2-57f2-4d15-bcb7-ff013acb1a2a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:15:49 - INFO: Input: /working/1c68f1d2-57f2-4d15-bcb7-ff013acb1a2a/processing/data/laser.ptd.dat 2026-05-20T01:15:49 - INFO: Sonar: True 2026-05-20T01:15:49 - INFO: Method: fit 2026-05-20T01:15:49 - INFO: Shape: /working/shape.shape.json 2026-05-20T01:15:49 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:15:49 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-20T01:15:54 - INFO: Reading sonar track took 0.11223983764648438 sec! 2026-05-20T01:15:54 - INFO: Reading sonar alignment track took {0.005278587341308594} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-20T01:15:54 - INFO: Calculating the size for all frames ... 2026-05-20T01:15:59 - INFO: 200 frames are processed in 4.98 seconds. rate: 40.13 fp/s 2026-05-20T01:15:59 - INFO: Median Scale of 200 frame found to be: 1.22035452439131 2026-05-20T01:15:59 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-20T01:15:59 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-20T01:16:58 - INFO: {7983} frames are processed in {57.59} seconds. Rate: 138.62 fp/s Track data saved to /working/1c68f1d2-57f2-4d15-bcb7-ff013acb1a2a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/1c68f1d2-57f2-4d15-bcb7-ff013acb1a2a/processing/data/laser_aligned.ptd.dat