Matlab Utilities for Seismology


SACLAB is the integration of the standard in solid earth seismic signal processing, Seismic Analysis Code (SAC), with the standard in technical computing, MatLab, making the computational and programming power of MatLab easily available for use with SAC data files. SACLAB allows one to read SAC data files into MatLab and perform some useful SAC operations in MatLab. SACLAB utilities complement the MatLab signal processing toolbox, which has become widely used in the industry. With SACLAB, programs and data files are portable to any platform that runs MatLab. SACLAB fosters interdisciplinary collaboration since MatLab can be found in most all departments. Also, the extensive documentation in MatLab provides a better understanding of the algorithms used, and makes it easy to alter a program for a different use.

Special thanks to Sean Ford for help in developing and debugging these routines. Please send comments to mthorne @ asu.edu


SACLAB - Utilities for converting between Seismic Analysis Code (SAC) and Matlab formats
Utility Name
Function
(click below to view m-file)
rsac.m Read SAC binary
wsac.m Write SAC binary
bsac.m Be SAC - convert Matlab array to SAC format
lh.m List Header
ch.m Change Header
p1.m Plot Traces (one trace per subplot) - Example Screenshot
p2.m Plot Traces (overlay traces) - Example Screenshot
Download m-files (tar.gz)


SACLAB Contributions - M-file contributions using SACLAB
Utility Name
Function
(click below to view m-file)
marktimes.m (Contributed by Sean Ford) Calculate travel-times and put in SAC header


Utilities for reading Seismic Handler files into Matlab
Utility Name Function
(click below to view m-file)
rqhd.m Read SH header
rqbn.m Read SH binary
Download m-files (tar.gz) (Example Screenshot)

Misc. Matlab Functions
Utility Name Function
(click below to view m-file)
refl.m Reflectivity-like Source Time function.

Matlab Color Palette Tables
Utility Name Function
(click below to view m-file)
france.m French flag-like color palette Table.

Links to Other Seismology Related Matlab Applications
TTBox - Calculate travel times, ray paths, etc. (download) (info)
Coral: A matlab program for seismic waveform analysis
Charles Ammon's Matlab Exercise's for Seismology
Frederik J. Simons Software Page


Last updated Thursday, June 02, 2005 return home