If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into ...
Place POsolver.py into the working folder, and use the functions. Examples are given in Test_RCS for RCS, and Test_range for radar range profile. build(filename ...