Learn R Programming

RTOMO (version 1.1-3)

makeMOD: Make a 3D model

Description

Create a three-dimensional synthetic model for use in predicting travel-times.

Usage

makeMOD(xo, yo, ztop, x, y, z, r, v, bg)

Arguments

xo
x-nodes
yo
y-nodes
ztop
tops of layers
x
x-coordinates of balls
y
y-coordinates of balls
z
z-coordinates of balls
r
radii of balls
v
velocity of balls
bg
background velocity for 1-D model

Value

Model List

Details

Balls are spherical - this may change in future implementations to ellipsoids.

See Also

GXMA3D, SHOWTOMO

Examples

Run this code


data(HELMOD)
data(HEL1D)

xo = HELMOD$x
yo = HELMOD$y
ztop=HEL1D$zp[1:15]
bg = HEL1D$vp[1:15]
x = 10
y = 15
z = 6
r = 6
v = 3




TM1 = makeMOD(xo, yo, ztop , x, y, z, r, v , bg )
SHOWTOMO(TM1)

Run the code above in your browser using DataLab