⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fea_stat.5t

📁 speech signal process tools
💻 5T
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)fea_stat.5t	1.2 7/15/87 ESI.TH FEA_STAT 5\-ESPS 7/15/87.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEESPS Statistics Feature File Subtype \- (.stat).SH SYNOPSIS.nf.ft B#include <sps/sps.h>#include <sps/fea.h>#include <sps/fstat.h>.fi.SH DESCRIPTION.PPThe FEA_STAT file is a subtype of the FEA file.  If \fIhd\fR is a pointer to the header of such a file, then \fIhd\->hd.fea\->fea_type\fR== FEA_STAT.  FEA_STAT files are used to store statistical parametersuseful for classification.  FEA_STAT files are created by calling .I init_feastat_hd(3\-ESPSu) after .I new_header(3\-ESPSu).  .PPThe header for a FEA_STATfile consists of the following generic header items:.PP.TScenter, box, tab(;);c | c | c | cl | l | l | l.Name;Size;Type;Enums=statfield;(varies);character;NULLstatsize;1;long;NULL;.TE.PPThe generic header items have the following meanings:.IP statfieldThe name of the field on which statistics were computed.  A pointerto the header of the file on which statistics were computed is stored in the .I variable.refhdheader item in the FEA_STAT file header.  For example, if a FEA_STAT file is generated by .I fea_stats(1\-ESPS), .I statfield would be the name of one of the fields in the input file to .I fea_stats,and .I variable.refhdin the FEA_STAT header would be a pointer to the header of the input file to .I fea_stats.Note that the information available through.I variable.refhdallows programs that process FEA_STAT files to assemble compatible classification vectors from input FEA files.  .IP statsizeThe size of the field on which statistics were computed..PPThe header of a FEA_STAT file also contains definitions for one or more of the record fields given by the following table:.PP.TScenter, box, tab(;);c | c | c | c | c | c l | l | l | l | l | l.Name;Size;Rank;Dimen;Type;Enums=class;1;0;NULL;coded;(varies)mean;\fIstatsize\fP;1;NULL;float;NULLcovar;\fIstatsize * statsize\fP;2;{\fIstatsize, statsize\fP};float;NULLinvcovar;\fIstatsize * statsize\fP;2;{\fIstatsize, statsize\fP};float;NULLeigenval;\fIstatsize\fP;1;NULL;float;NULLeigenvec;\fIstatsize * statsize\fP;2;{\fIstatsize, statsize\fP};float;NULL.TE.PPThe two fields, class and mean, are always present in a FEA_STAT file.The other fields, covar, invcovar, eigenval, and eigenvec are all optionfields, that can be created by calling \fIinit_feastat_hd\fP(3\-ESPSu).Both.I eigenvaland.I eigenvecare either present, or both are absent.  See \fIfea\fR(5\-ESPS) for additional information on the meaning of the table columns..PPIn most cases, programs that deal with FEA_STAT files will use the supportroutines provided in the ESPS library and will not have to make directuse of the information in the above tables.   The library routine.I init_feastat_hd(3\-ESPSu) creates the record fields and the generic header items..PPPrograms that deal with FEA_STAT files do so in terms of structures oftype (struct fstat) \- pointers to structures of this type are returned by .I allo_feastat_rec(3\-ESPSu), and the FEA_STAT read and write routines (\fIget_fstat_rec\fRand \fIput_fstat_rec\fP) have parameters of type (struct fstat).  Here is the definition of the fstat struct (given in \fI<sps/fstat.h>\fR):.nf.ta .5i 1i 1.75i    struct fstat  {	short		*class;	float		*mean;	float		**covar;	float		**invcovar;	float		*eigenval;	float		**eigenvec;        struct fea_data    *fea_rec;    };.fi.PPThe record fields have the following meanings:.IP classThis field contains a list of all the possible types of classes available.For example, in making voicing decisions a valid class might be given by{"voiced", "unvoiced", "silent"}..IP meanThis is a vector which consists of the average of \fIstatfield\fPin a FEA file across all records..IP covarThis is the sample covariance matrix corresponding to \fIstatfield\fP ina FEA file..IP invcovarThis field contains the sample inverse covariance matrix..IP eigenvalThis is a vector which contains the eigenvalues corresponding to\fIstatfield\fP in the input FEA file..IP eigenvecThis is a matrix which contains the eigenvectors corresponding to\fIstatfield\fP in the input FEA file..IP fea_recThis is a pointer to the FEA file record in which all the FEA_STAT information is stored.  Programs should not use this value directly..SH SEE ALSO.PPset_fea_deriv(3\-ESPSu), get_fea_deriv(3\-ESPSu), init_feastat_hd(3\-ESPSu), allo_feastat_rec(3\-ESPSu), get_feastat_rec(3\-ESPSu),put_feastat_rec(3\-ESPSu), get_genhd(3\-ESPSu), ana2fea(1\-ESPS), fea2ana(1\-ESPS)FEA(5\-ESPS), ESPS(5\-ESPS).SH RECORD ELEMENT FILE STRUCTURE.PPIn order to use this (or any other) FEA file type with a generic ESPSprogram (one that operates on any file type) it is necessary to know theway that record elements are positioned in the file.   For a FEA filethat information is obtained by running the program\fIfea_element\fR(1\-ESPS) on the file in question..SH FILES.PP.nf/usr/include/sps/fea.h/usr/include/sps/feastat.h.SH AUTHORManual page by John Shore

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -