Learn R Programming

RSEIS (version 4.2-4)

Get1Dvel: Read 1D velocity model

Description

Read in a velocity model

Usage

Get1Dvel(infile, PLOT = TRUE)

Value

LIST:

zp

vector of Tops of Layers, P-wave, (km)

vp

vector of velocities of Layers, P-wave,(km/s)

ep

errors for velocities, P-wave,(km/s)

zs

vector of Tops of Layers, S-wave, (km)

vs

vector of velocities of Layers, S-wave,(km/s)

es

errors for velocities, S-wave,(km/s)

name

character, name of model

descriptor

character vector description of model

Arguments

infile

Path to ascii-text model

PLOT

logical, TRUE=plot

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Reads Velocity model from a text file

See Also

Plot1Dvel, Comp1Dvel, Comp1Dvels, travel.time1D

Examples

Run this code

data(VELMOD1D)

Get1Dvel(VELMOD1D, PLOT=TRUE)

 

Run the code above in your browser using DataLab