bmed - BSU program median mixes seismic data across the trace direction
bmed [ -h | infile | mix ]
Basic Seismic Utilities (BSU) mixes traces using a median mix. Current version is limited to a 21 trace median mix, but this can be increased by modifying the source code and recompiling. Designed for wavefield separation on time aligned data, the code does not taper in/out at the edges of the data set. Rather, it replicates mix/2 traces from the midpoint out to the end of the data. Note, this is a MEDIAN mix. If you want to use the MEAN mix, then you will want to run bmix instead.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
mix |
The width of the box car mix operator (must be odd, and software makes sure it is). |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
bmed bshfwave.seg 11
File bshfwave.seg is mixed with an 11 trace spatial median mix operator.
bmedyyyy.seg
Output, median mixed data set. Named according to convention (first 4char bmed, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bmedyyyy.lst
echo check of input parameters
bhelp(1), bmix(1)
No known bugs.
Copyright © 2017 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <pm@cgiss.boisestate.edu>