+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/c43310de-ad9c-4107-9392-9e6db521e484/processing/data/laser.ptd.dat fit 2026-07-20T03:44:43 - INFO: Profile Alignment 0.0.39 2026-07-20T03:44:43 - INFO: Alignment track will be output to /working/c43310de-ad9c-4107-9392-9e6db521e484/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-20T03:44:43 - INFO: Input: /working/c43310de-ad9c-4107-9392-9e6db521e484/processing/data/laser.ptd.dat 2026-07-20T03:44:43 - INFO: Sonar: True 2026-07-20T03:44:43 - INFO: Method: fit 2026-07-20T03:44:43 - INFO: Shape: /working/shape.shape.json 2026-07-20T03:44:43 - INFO: Shape info: /working/shape.json 2026-07-20T03:44:43 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-20T03:44:47 - INFO: Reading sonar track took 0.00477910041809082 sec! 2026-07-20T03:44:47 - INFO: Reading sonar alignment track took {0.001116037368774414} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-20T03:44:48 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-20T03:44:48 - INFO: Calculating the size for all frames ... 2026-07-20T03:44:51 - INFO: 200 frames are processed in 3.88 seconds. rate: 51.59 fp/s 2026-07-20T03:44:51 - INFO: Median Scale of 200 frame found to be: 1.5305636560175233 2026-07-20T03:44:51 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-20T03:44:51 - INFO: Fit to reference shape ... 2026-07-20T03:45:52 - INFO: {10601} frames are processed in {59.72} seconds. Rate: 177.50 fp/s Track data saved to /working/c43310de-ad9c-4107-9392-9e6db521e484/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/c43310de-ad9c-4107-9392-9e6db521e484/processing/data/laser_aligned.ptd.dat