IDL> tst39, myCase, tdSeed, tdMat, satLocwhere myCase is the test case you wish.
The other items are explained in the INPUTS section below.
All inputs are optional, but to get to the second input, you have to provide the first.
Here is a typical test run:
IDL> tst39,1 Case = 1 Z-incident case, seed = 1.00000 The condition number is: 1.00000 The slowness vector is: 0.00000 0.00000 1.00000 This calculated time delay - original time delay is: 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 IDL> tst39,2 Case = 2 X-incident case, seed = 1.00000 The condition number is: 1.00000 The slowness vector is: 1.63299 0.00000 0.00000 This calculated time delay - original time delay is: 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 IDL>Notice that in the z-direction case the slowness vectro is (0,0,1), while in the x-direction case the slowness vector is (1.63299,0,0). This is because we set the base of our height one tetrahedron in the (x,y) plane. Thus the distance (height) in the z-direction is 1, while if a wave comes in the x-direction, there is less length. Hence the same time delay will be "slower" in the (shorter) x-direction.
If you want to make your own test case, here is how to do it:
Set the slowness vector, ms, and the satellite vectors, x, y, z, and w. Then execute the following IDL code:
xt = total ( ms*x) yt = total ( ms*y) zt = total ( ms*z) wt = total ( ms*w) tdMat = [ $ [xt-xt,xt-yt,xt-zt,xt-wt], $ [yt-xt,yt-yt,yt-zt,yt-wt], $ [zt-xt,zt-yt,zt-zt,zt-wt], $ [wt-xt,wt-yt,wt-zt,wt-wt] $ ]
This code calculated the location in time of the event at x, y, z, w as xt, yt, zt, wt, and then it builds the time delay array.