The primary forum in Swarm for intense interaction with waveforms is the Wave Clipboard. Here is a snapshot
of typical Wave Clipboard usage:
The Wave Clipboard holds as many simultaneous wave views as you like. For example you could compare arrival times across many stations, look at the same waveform with three different filters, or compare different events from one station.
The user interface consists of a clipboard toolbar at the top and then as many stacked clipboard wave views as you like, each with its own toolbar. You can also zoom into any portion of a wave (the transparent yellow block is showing the act of zooming). As usual, the status bar shows the current time under the mouse cursor. The wave with the blue border is the 'selected' wave for the purposes of the clipboard toolbar.
The clipboard toolbar has four buttons:
- Opens a wave text file as saved by Swarm or a SAC file. If you select a directory,
all of the ".txt" and ".sac" files in it will be loaded.
- Save a wave as a text file or SAC file. The format of the text file is exceedingly simple:
each row has two values, a time (Unix time: milliseconds seconds January 1, 1970) and a sample.
Loading this data into Matlab is trivial with the command:
load filename.txt
. Any filename that does not end with ".sac"
will be saved as one of these text files (".txt" is the default). If the filename ends with ".sac" the wave is saved as a SAC file.
- Save all of the waves as SAC files. You will be prompted to specify a directory in which to save
the waves. In that directory a directory will be created in YYYYMMDDHHMMSS form that corresponds to each distinct second at which each wave on the clipboard
begins. Under those directories SAC files will be saved with the name of the channels whose waves start during that second.
- Synchronize all of the channels on the clipboard to the same time window as the selected wave.
- Remove ALL of the waves from the clipboard.
Each wave on the clipboard has its own toolbar. Here is a description of each button:
- Minimizes the toolbar, maximizing screen real-estate for the wave.
- Scrolls the wave back in time by 20%. Keyboard shortcut: Left arrow
- Scrolls the wave forward in time by 20%. Keyboard shortcut: Right arrow
- Positions the wave at a user-specified time. Keyboard shortcut: Control-G
- Decreases amount of time on the X axis by 20%. Keyboard shortcut: Alt-Left arrow
- Increases amount of time on the X axis by 20%. Keyboard shortcut: Alt-Right arrow
- Reverts to the last time window. Keyboard shortcut: Backspace
- Opens the Wave View Settings Dialog. Keyboard shortcut: ?
- Chooses wave view. Keyboard shortcut: W or ,
- Chooses spectra view. Keyboard shortcut: S or .
- Chooses spectrogram view. Keyboard shortcut: G or /
- Puts another copy of the wave on the clipboard. Keyboard shortcut: C or Control-C
- Moves this wave up a position on the clipboard. Keyboard shortcut: Up arrow
- Moves this wave down a position on the clipboard. Keyboard shortcut: Down arrow
- Removes the wave from the clipboard. Keyboard shortcut: Delete
Also, the standard keys for interacting with wave views are active.