bwin

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

bwin - BSU program which applies raised cosine window in time to seismic traces

SYNOPSIS

bwin [ -h | infile | tw1 | tw2 | tw3 | tw4 ]

DESCRIPTION

Basic Seismic Utilities (BSU) applies a window in time. The taper in and taper out is done with a raised cosine. Samples before tw1 and after tw4 are multiplied by zero. Samples from tw1 to tw2 are multiplied by a raised cosine that reaches unity at tw2. Samples from tw3 to tw4 are multiplied by a raised cosine that reaches zero at tw4. Samples from tw2 to tw3 are multiplied by unity.

Options

-h

Online help giving details on command line arguments

infile

Input file name

tw1

Start time for taper in.

tw2

End time for taper in.

tw3

Start time for taper out.

tw4

End time for taper out.

NOTE:
If invoked with no options, will prompt user for input parameters.

EXAMPLE:
bwin twave.seg 0.1 .12 .4 .42

Data are multiplied by a window which tapers in from 0.1 to .12 seconds, is unity from 0.12 to 0.4 seconds, and then tapers out by 0.42 seconds. Data before 0.1 or after 0.42 seconds are set to zero.

FILES

bwinxxxx.seg

Named according to convention (first 4char bwin, the next 4char are the first 4char of the input file name, suffix .seg)

standard output

produces a progress bar

bwinxxxx.lst

echo check of input parameters

SEE ALSO

bhelp(1)

BUGS

No known bugs

COPYRIGHT

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.

AUTHOR

P. Michaels, PE. <pm@cgiss.boisestate.edu>