Hey,
You can look in the git i mentioned here:
it includes a readme and in the end i used a simple method do calculate the vertical displacement. The scripts are a mess since they were made on the fly to finish my thesis but i hope you can extract something from it.
Best regards, Gijs