In general the equation is used to convert LOS to Vertical, showing that the vertical disp. depends on the cos of the incidence angle,
But according to the Zhong Lu Daniel Dzurisin, 2014 LOS, is more sensitive to vertical dis. uplift and subsidence, which is your case,
But according to my experience and the other discussions from earlier posts in here Source of the post
The atmospheric effects has the large pack of the increasing the amount of real disp.
I didn’t quit understand what do you mean scripting in here, but in general you use pixel info and get the information of any pixel by pointing on it,