the Waveform Suite - geoscience-community-codes/GISMO GitHub Wiki

The Waveform Suite was originally written by Celso Reyes in 2006 and has always been the centrepiece of GISMO. Although The Waveform Suite has also been distributed as a stand alone product on MATLAB's File Exchange. The Waveform Suite is the toolbox around which GISMO originally grew, providing the waveform handling capabilities. The Waveform Suite no longer exists as a separate project - today it is a component of GISMO - and still growing. We highly recommend you download GISMO as includes The Waveform Suite, is more powerful and is better documented.

GISMO's waveform handling capabilities rely on three primary MATLAB classes:

  • waveform: This class provides easy data manipulation and display of evenly sampled data.

  • datasource: This class provides the interface between programs and stored data.

  • scnlobject: This class handles each trace's station-channel-network-location information.

  • filterobject

  • spectralobject

In most applications, datasource and scnlobject are used to set up the importation of data as in this example:

>> ds = datasource(`Antelope','/iwrun/op/db/archive_2010_02_27');
>> scnl = scnlobject(`SPBG', `BHZ', `AV', `—');
>> w = waveform(ds, scnl, startTime, endTime);

where startTime and endTime happen to be N × M matrices of trace start and end times. The result is an N × M waveform object, w. This particular example draws data from an Antelope database. This could be pointed to a different type of input data by just changing the first line. As will be the case for all scripting examples, the user-typed commands are shown after the MATLAB prompt “>>” while computer-generated output is represented in italics.

⚠️ **GitHub.com Fallback** ⚠️