+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat fit 2026-05-08T02:33:55 - INFO: Profile Alignment 0.0.30 2026-05-08T02:33:55 - INFO: Alignment track will be output to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data 2026-05-08T02:33:55 - INFO: Input: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-08T02:33:55 - INFO: Sonar: True 2026-05-08T02:33:55 - INFO: Method: fit 2026-05-08T02:33:55 - INFO: Shape: /working/shape.shape.json 2026-05-08T02:33:55 - INFO: Shape info: /working/shape.json 2026-05-08T02:33:55 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-08T02:34:00 - INFO: Reading sonar track took 0.18607521057128906 sec! 2026-05-08T02:34:00 - INFO: Reading sonar alignment track took {0.00595402717590332} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-08T02:34:01 - INFO: Calculating the size for all frames ... 2026-05-08T02:34:09 - INFO: 200 frames are processed in <7.79> seconds. rate: 25.68 fp/s 2026-05-08T02:34:09 - INFO: Median Scale of {200} frame found to be: {0.8887020623538874} 2026-05-08T02:34:09 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-08T02:34:09 - INFO: Fit to reference shape ... 2026-05-08T02:35:36 - INFO: {7418} frames are processed in {86.79} seconds. Rate: 85.47 fp/s Track data saved to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser_aligned.ptd.dat