+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e0218a3c-1965-4619-98e1-4ad0e735960c/processing/data/lidar.ptd.dat fit 2026-05-06T02:52:23 - INFO: Profile Alignment 0.0.30 2026-05-06T02:52:23 - INFO: Alignment track will be output to /working/e0218a3c-1965-4619-98e1-4ad0e735960c/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T02:52:23 - INFO: Input: /working/e0218a3c-1965-4619-98e1-4ad0e735960c/processing/data/lidar.ptd.dat 2026-05-06T02:52:23 - INFO: Sonar: True 2026-05-06T02:52:23 - INFO: Method: fit 2026-05-06T02:52:23 - INFO: Shape: /working/shape.shape.json 2026-05-06T02:52:23 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T02:52:23 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-06T02:52:26 - INFO: Reading sonar track took 0.1251680850982666 sec! 2026-05-06T02:52:26 - INFO: Reading sonar alignment track took {0.0007841587066650391} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-06T02:52:26 - INFO: Calculating the size for all frames ... 2026-05-06T02:52:31 - INFO: 200 frames are processed in <4.19> seconds. rate: 47.73 fp/s 2026-05-06T02:52:31 - INFO: Median Scale of {200} frame found to be: {1.6587474119378531} 2026-05-06T02:52:31 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-06T02:52:31 - INFO: Fit to reference shape ... 2026-05-06T02:53:20 - INFO: {4773} frames are processed in {49.62} seconds. Rate: 96.20 fp/s Track data saved to /working/e0218a3c-1965-4619-98e1-4ad0e735960c/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e0218a3c-1965-4619-98e1-4ad0e735960c/processing/data/laser_aligned.ptd.dat