📄 toep_solv.1
字号:
.\" Copyright (c) 1986-1990 Entropic Speech, Inc..\" Copyright (c) 1992 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)toep_solv.1 1.3 12/2/92 ESI/ERL.ds ]W (c) 1992 Entropic Research Laboratory, Inc..if n \{\. ds R_ \x'1'R\d\dij\u\u. ds r_ \x'1'r\d\d|i-j|\u\u. ds r0 \x'1'r\d\d0\u\u. ds r1 \x'1'r\d\d1\u\u. ds rm \x'1'r\d\dm\u\u. \}.if t \{\. ds R_ \fIR\v'15u'\s-3i\^j\s+3\|\v'-15u'\fP. ds r_ \fIr\fP\v'15u'\s-3|\|\fIi\|\(mi\^j\fP\^|\s+3\v'-15u'. ds r0 \fIr\fP\v'15u'\s-3\fR0\fP\s+3\v'-15u'. ds r1 \fIr\fP\v'15u'\s-3\fR1\fP\s+3\v'-15u'. ds rm \fIr\v'15u'\s-3m\s+3\v'-15u'\fP. \}.TH TOEP_SOLV 1\-ESPS 12/2/92.SH "NAME"toep_solv \- Solve real symmetric Toeplitz systems of linear equations.SH "SYNOPSIS".B toep_solv[.BI \-f " crsfield"] [.BI \-x " debug_level"] [.BI \-F " autfield"] [.BI \-P " param"] [.BI \-W " pwrfield"].I autocor.fea.I crosscor.fea.I output.filt.SH "DESCRIPTION".PP.I Toep_solvrepeatedly obtains an ``autocorrelation vector''.I rfrom its first input fileand a corresponding ``cross-correlation vector''.I vfrom its second file.For each such pair of vectors, it solves the system of equations.PP.I Rw = v.PPwhere.I Ris a Toeplitz matrix with coefficients given by.PP\*(R_\ =\ \*(r_.PPand writes the solution vector.I wto the output file..PPThe first input file is typically a FEA_ANA filecontaining normalized autocorrelations,as indicated by a value AUTO for the header item.I spec_rep(see FEA_ANA(5\-ESPS)).However, any FEA file having a scalar field.I raw_powerand a vector field.I spec_paramof type FLOAT is accepted,and in fact alternative field names may be chosenwith the.B \-Wand.B \-Foptions.A vector.I ris obtained from these two fields in each input record.The value of \*(r0 is the contents of the.I raw_powerfield,and the values of \*(r1,\ .\ .\ .\ ,\ \*(rmare obtained by multiplying the contents of the.I spec_paramfield by \*(r0.Here.I m,the size of the.I spec_paramfield, equals the order of the autocorrelations..PPThe second input file may be any FEA file having a vector field.I cross_corof type FLOAT, and an alternative field name may be chosenwith the.B \-foption.For example files written by the program.IR cross_cor (1\-ESPS)are acceptable.The vector.I vobtained from each record is simply the contents of the given field.The size of the field must be.IR m "\|+\|1,"where.I m,as above, is the size of the.I spec_paramfield in the first input file..PPThe output file is a FEA_FILT file.The elements of each solution vector.I ware treated as coefficients of a FIR filter and written in an outputrecord as elements of .I re_num_coeff..PPThe solution vectors are computed by.IR stsolv (3-ESPS),which uses Levinson's method \-reflection coefficients are computed as intermediate results,and a warning is printedif a reflection coefficient with magnitude 1 or greater is computed.In that casethe output record contains the solution of a system of some reduced order..SH "OPTIONS".PPThe following options are supported. Default values are shown in brackets..TP.BI \-f " crsfield" " \fR[cross_cor]"The name of the field in the second input file that contains thecross-correlation vectors.I v..TP.BI \-x " debug_level" " \fR[0]"A positive value causes various debugging messages to be printed to thestandard error output \- the higher the value, the more messages.At the default level of 0, no messages are printed..TP.BI \-F " autfield" " \fR[spec_param]"The name of the field in the first input file that contains the normalizedautocorrelation vectors used in computing the autocorrelation vectors.I r..TP.BI \-P " param" " \fR[params]".TP.BI \-W " pwrfield" " \fR[raw_power]"The name of the field in the first input filethat contains the total power \*(r0used in computing the autocorrelation vectors.I r..SH "ESPS PARAMETERS".PPThe parameter file does not have to be present,since all the parameters have default values.The following parameters are read, if present, from the parameter file:.TP.I "crsfield \- string"The name of the field in the second input filethat contains the cross-correlation vectors.This parameter is not read if the.B \-foption is used.The default is "cross_cor"..TP.I "autfield \- string"The name of the field in the first input filethat contains the normalized autocorrelation vectors.This parameter is not read if the.B \-Foption is used.The default is "spec_param"..TP.I "pwrfield \- string"The name of the field in the first input filethat contains the total power.This parameter is not read if the.B \-Woption is used.The default is "raw_power"..SH "ESPS COMMON"The ESPS common file is not accessed..SH "ESPS HEADERS"The value of.I common.typeis checked in the two input file headers.The output header is a new FEA_FILT file header.The generic header item .I max_numis set equal to the number of output filter coefficients,which is the same as the number of elementsof an input cross-correlation vector;.I max_denombecomes 0.The values given to.I typeand.I methodare FILT_ARB and PZ_PLACE.All other FEA_FILT generic header items are filled in withNONE, 0, or NULL.Generic header items.I crsfield, autfield,and.I pwrfieldare added to record the values obtained from the command line,from the parameter file, or by default.As usual, the command line is added as a comment, and the headers of theinput files are added to the output file header as source files..SH "EXAMPLE".PPSometimes one needs to estimate the coefficients of a linear filter,give two pieces of information:an original version of a signaland the corresponding filtered version, possibly with added noise.An estimate may be obtained as the solution.I wof a Toeplitz system for which the matrix elements \*(r_are autocorrelations of the original signal,and the right-hand side.I vconsists of cross-correlations of the filtered signal with the original.The problem can thus be solved by.I toep_solvtogether with.IR auto (1-ESPS)and.IR cross_cor (1-ESPS).Suppose for example that the original signal is a thousand-sample segmentof a sampled-data file.I orig.sdstarting at sample 1001,and that the filtered signal is in a sampled-data file.I filt.sdstarting at sample 501.The following commands will estimate an order-10 causal FIR filterthat will transform the original signal to one as close as possible tothe filtered signal in a least-squares sense..nf.IPauto \-p1001:2000 \-o10 orig.sd auto.fanacross_cor \-p501:1500 \-p1001:2000 \-o0:10 filt.sd orig.sd ccor.featoep_solv auto.fana ccor.fea filter.filt.fi.SH "SEE ALSO".PPstsolv(3-ESPSsp), auto(1-ESPS), cross_cor(1-ESPS), FEA(5-ESPS), FEA_ANA(5-ESPS),FEA_FILT(5-ESPS).SH "BUGS".PPThere should be an option \-r to allow selecting a subrange of the records inthe input files. Tags are ignored..SH "FUTURE CHANGES".PPAccommodate double-precision data..SH "AUTHOR"Rodney Johnson. Modified to write FEA_FILT files by Bill Byrne.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -