+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/83cdd8ce-ce1e-4bcc-8d6f-dc203758799c/processing/data/laser.ptd.dat fit 2026-05-15T02:30:30 - INFO: Profile Alignment 0.0.32 2026-05-15T02:30:30 - INFO: Alignment track will be output to /working/83cdd8ce-ce1e-4bcc-8d6f-dc203758799c/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-15T02:30:30 - INFO: Input: /working/83cdd8ce-ce1e-4bcc-8d6f-dc203758799c/processing/data/laser.ptd.dat 2026-05-15T02:30:30 - INFO: Sonar: True 2026-05-15T02:30:30 - INFO: Method: fit 2026-05-15T02:30:30 - INFO: Shape: /working/shape.shape.json 2026-05-15T02:30:30 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-15T02:30:30 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-15T02:30:33 - INFO: Reading sonar track took 0.09426712989807129 sec! 2026-05-15T02:30:33 - INFO: Reading sonar alignment track took {0.0005867481231689453} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-15T02:30:33 - INFO: Calculating the size for all frames ... 2026-05-15T02:30:37 - INFO: 200 frames are processed in 4.19 seconds. rate: 47.77 fp/s 2026-05-15T02:30:37 - INFO: Median Scale of 200 frame found to be: 0.581195008621635 2026-05-15T02:30:37 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-15T02:30:37 - INFO: Fit to reference shape ... 2026-05-15T02:31:05 - INFO: {4943} frames are processed in {27.78} seconds. Rate: 177.93 fp/s Track data saved to /working/83cdd8ce-ce1e-4bcc-8d6f-dc203758799c/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/83cdd8ce-ce1e-4bcc-8d6f-dc203758799c/processing/data/laser_aligned.ptd.dat