yefj said:
I am trying to implement something simple with the kramer kronig method.
I have s-param file is there some manual which is more practical?
There is nothing simple about the Kramers-Kronig method.
Do not start with real data, you will need to follow a step-wise process of software development using synthetic data.
1. First define a simple transmission line model, with loss and reflection coefficients.
2. Synthesise the TDR response expected, including attenuation and internal reflections.
5. Reverse the process to analyse the transmission line model from the TDR response. As you test and refine your code, make the transmission line model more complex each time, and check the result against your model.
Test the following two steps separately, then insert them into the above process sequence.
3. Compute the band limited S-parameters for the synthesised TDR over a fixed band.
4. Reverse the process by computing the TDR from the S-parameters.
Then you can apply the process to a real TDR response, and check that you get sensible results.