NAME
smedian - Spatial median/mean smoothing
SYNOPSIS
smedian [ -Nntap ] [ -Ootap ] [ -rsirs ] [ -reire ] [
-xsmoothxsmth ] [ -zsmoothxsmth ] [ -median ] [ -angle ] [
-st ] [ -V ] [ -? ]
DESCRIPTION
smedian replaces a sample value with the median or mean
statistic derived from a user defined rectangular window,
thus smoothing and/or interpolating input data. This action
happens with-in a record.
A special provision is made for use with incident angle
fields which are calculated in avomig and output using ian-
gle.
smedian gets data and parameters from command line argu-
ments. These arguments specify the input and output trace
data.
Command line arguments
-Nntap
Enter input data set name or file immediately after
typing -N; entering nothing specifies a stdin pipe.
This file should include the complete path name if the
file resides in a different directory. Example
-N/b/vsp/dummy tells the program to look for file
'dummy' in subdirectory 'vsp' stored in directory b.
-Ootap
Enter output data set name or file immediately after
typing -O. This output file is not required when pip-
ing the output to another process. The output data set
also requires the full path name (see above).
-rs irs
first record to process. (default = 1)
-re ire
last record to process. (default = all)
-ns ns
first trace in record to process. (default = 1)
-ne ne
last trace in record to process. (default = all)
-xsmooth xsmth
half the window length (in traces) across traces to use
in computing statistics (default = 0)
-zsmooth zsmth
half the window length (in samples) with-in a trace to
use in computing statistics (default = 0)
-median
Enter '-median' to use median instead of mean statis-
tics
-st flag if input data stacked
-angle
Enter '-angle' and the program expects an input angle
field calculated with MBS program iangle. Attempts are
made to preserve the values in the mute zone and wild
card (90 degrees) values (which indicate meaningless
information was found here) are not used in the compu-
tation of statistics.
-V Enter the command line argument '-V' to get additional
printout.
-? Enter this (or '-?' if you are running in c-shell) to
get online help. The program will terminate after
printing a list of parameters.
BUGS
- unknown
SEE ALSO
iangle avomig
AUTHOR
W. P. May, 1995 updates R. Crider, 2000
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html