USGS logo Start RayGUI

Getting started with RayGUI


Four basic examples

You should be somewhat familiar with rayinvr. If not, it is best to start with the examples in ...raygui/rayinvr/package/example. RayGUI is merely an interface to rayinvr.

Layer numbering: Layer 0 is the top of the model. Layer 1 is the first layer within the model, e.g., the water column. Reflection at layer 1 means the reflection at the base of layer 1, e.g., at the seafloor. Headwave at layer 1 is also at the base of layer 1, i.e., in reality at the top of layer 2.

Setting up a new project: It helps to start with some esisting "master" files. Examples 1 and 2 contain some robust input files for further work.


Start with an existing rayinvr model, ex1

to top of document


Build a velocity model from scratch, ex2

to top of document


Start inversion, ex3

This hasn't been tested very well. RayGUI is not designed to generate input for the inversion with dmplstsqr. You'll have to edit v.in for this.

to top of document


Layer pinch-outs, ex4

Pinch-outs are a little bit tedious... If everything else fails, text-edit the ray_window velocity model.

Files: v1.ray - model to play with
tx.in - traveltime picks (irrelevant for this example)
r.in - ray tracing parameters. Should be compatible with v1.ray

Pinch-out to top, duplicate layer: To add another layer that pinches out without reading any external x/z-picks.

Pinch-out to top, read x/z-picks:

Pinch-out to base, duplicate layer:

Pinch-out to base, read x-z picks: This is tricky and involves text-editing

In general, keep in mind that pinch-outs are layers with zero-thickness (e.g., for ray parameters, etc.). Fix with a text-editor if you have accidentially moved a structural point in a region where a layer is supposed to have zero-thickness.

to top of document


Back to top page
Questions and comments? utenbrink@usgs.gov
Last revised Apr. 11, 2002