conv2

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

conv2 - subroutine to perform time domain convolution

SYNOPSIS

call conv2(nx,x,nf,f,y,npz)

DESCRIPTION

Basic Seismic Utilities (BSU) subroutine which performs a time domain convolution between a signal, x, and a filter, f. The filter tapers in and out of the signal. A zero time reference for the filter, npz, permits the filter to be composed of both causal and acausal parts.
Fortran Version
.

Arguments
nx (int)

Number of samples in signal x

x (float)

Signal to be filtered.

nf (int)

Number of samples in the filter.

f (float)

The filter to be applied to signal x.

y (float)

Output signal from the filter process.

npz (int)

Sample number in filter corresponding to zero time.

NOTE:
Signals x,f, and y get their dimensions from the calling program.

SEE ALSO

bdcn(1), xcor1(3)

BUGS

No known bugs.

COPYRIGHT

Copyright © 2024 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. <paulmichaels@.boisestate.edu>