+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/a70bd5d3-8abd-49d5-9789-99cfd3aaff95/processing/data/laser.ptd.dat fit 2026-05-22T02:25:05 - INFO: Profile Alignment 0.0.33 2026-05-22T02:25:05 - INFO: Alignment track will be output to /working/a70bd5d3-8abd-49d5-9789-99cfd3aaff95/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-22T02:25:05 - INFO: Input: /working/a70bd5d3-8abd-49d5-9789-99cfd3aaff95/processing/data/laser.ptd.dat 2026-05-22T02:25:05 - INFO: Sonar: True 2026-05-22T02:25:05 - INFO: Method: fit 2026-05-22T02:25:05 - INFO: Shape: /working/shape.shape.json 2026-05-22T02:25:05 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-22T02:25:05 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-22T02:25:05 - INFO: Reading sonar track took 0.00043463706970214844 sec! 2026-05-22T02:25:05 - INFO: Reading sonar alignment track took {0.0004520416259765625} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-22T02:25:05 - INFO: Calculating the size for all frames ... 2026-05-22T02:25:08 - INFO: 200 frames are processed in 2.91 seconds. rate: 68.66 fp/s 2026-05-22T02:25:08 - INFO: Median Scale of 109 frame found to be: 1.499188918309396 2026-05-22T02:25:08 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-22T02:25:08 - INFO: Fit to reference shape ... 2026-05-22T02:25:09 - INFO: {114} frames are processed in {0.65} seconds. Rate: 176.00 fp/s Track data saved to /working/a70bd5d3-8abd-49d5-9789-99cfd3aaff95/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/a70bd5d3-8abd-49d5-9789-99cfd3aaff95/processing/data/laser_aligned.ptd.dat