[*] up next print clean
Next: THE DATA CUBE Up: Table of Contents

 

Introduction to seplib and SEP utility software

Jon Claerbout

Author has no known email address

ABSTRACT

Most of the seismic utility software at the Stanford Exploration Project handles seismic data as a rectangular lattice or ``cube'' of numbers. Each cube processing program appends to the history file for the cube. Preprocessors extend fortran to enable it to allocate memory at run time, to facilitate input and output of data cubes, and to facilitate self-documenting programs.

At Stanford Exploration Project (SEP) a library of subroutines known as ``seplib'' evolved for routine operations. These mostly handle data in the form of cubes, planes, and vectors. A cube is defined by 14 parameters with standard names and two files: one the data cube itself, and the other containing the 14 parameters and a history of the life of the cube as it passed through a sequence of cube processing programs. These cube processing programs are mostly written by researchers but several nonscientific cube programs have become highly developed and are widely shared. Altogether there is (1) a library of subroutines, (2) a library of main programs, (3) some naming conventions, and (4) a graphics library called vplot described by Dellinger [1989]. The subroutine library has good manual pages. The main programs rarely have manual pages, their documentation being supplied by the on-line self documentation that is extracted from the comments at the beginning of the source file. Below is a list of the names of popular main programs.

Byte
scales floats to brightness bytes for raster display.
Cat
concatenates conforming cubes along the 3-axis.
Contour
contour plot a plane.
Cp
copy a cube.
Dd
convert between floats, complex, bytes, etc.
Dots
plots a plane of floats.
Ft3d
three-dimensional Fourier transform.
Graph
plots a line of floats.
In
checks the validity of a data cube.
Merge
merges conforming cubes side-by-side on any axis.
Movie
is Rick's cube viewer. (Needs evaluation under X).
Noise
adds noise to data.
Reverse
reverses a cube axis.
Spike
makes a plane wave of synthetic data.
Ta2vplot
converts byte format to attractive section vplot.
Tpow
scales data by a power of time t (1-axis).
Thplot
hidden line plot.
Transpose
transposes axes.
Tube
view vplot plot on a screen.
Wiggle
plots a plane of floats.
Window
finds a subcube by truncation or subsampling.

To use cube processing programs, read this document, and then for each command, read its on-line self documentation. To write cube processing programs, read the manual page for seplib and the subroutines mentioned there and here. To write vplot programs, see Dellinger's [1989] documentation.



 
[*] up next print clean
Next: THE DATA CUBE Up: Table of Contents
Stanford Exploration Project
12/18/1997