+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/4ecf3ba5-1ec5-4a15-a5fe-e3df396b4882/processing/data/laser.ptd.dat fit 2026-06-16T05:38:32 - INFO: Profile Alignment 0.0.32 2026-06-16T05:38:32 - INFO: Alignment track will be output to /working/4ecf3ba5-1ec5-4a15-a5fe-e3df396b4882/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-16T05:38:32 - INFO: Input: /working/4ecf3ba5-1ec5-4a15-a5fe-e3df396b4882/processing/data/laser.ptd.dat 2026-06-16T05:38:32 - INFO: Sonar: True =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-16T05:38:32 - INFO: Method: fit 2026-06-16T05:38:32 - INFO: Shape: /working/shape.shape.json 2026-06-16T05:38:32 - INFO: Shape info: /working/shape.json 2026-06-16T05:38:32 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-16T05:38:34 - INFO: Reading sonar track took 0.05939793586730957 sec! 2026-06-16T05:38:34 - INFO: Reading sonar alignment track took {0.006898403167724609} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-16T05:38:34 - INFO: Calculating the size for all frames ... 2026-06-16T05:38:43 - INFO: 200 frames are processed in 8.60 seconds. rate: 23.26 fp/s 2026-06-16T05:38:43 - INFO: Median Scale of 200 frame found to be: 1.0289313676704603 2026-06-16T05:38:43 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-16T05:38:43 - INFO: Fit to reference shape ... 2026-06-16T05:39:11 - INFO: {1882} frames are processed in {27.99} seconds. Rate: 67.25 fp/s Track data saved to /working/4ecf3ba5-1ec5-4a15-a5fe-e3df396b4882/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/4ecf3ba5-1ec5-4a15-a5fe-e3df396b4882/processing/data/laser_aligned.ptd.dat