📄 chnentropy.1
字号:
.TH CHNENTROPY 1 "QCCPACK" "".SH NAMEchnentropy \- calculate entropy of channel.SH SYNOPSIS.B chnentropy.RB "[\|" \-vo "\|]".RB "[\|" \-d.IR vector\_dimension "\|]".RB "[\|" \-o.IR order "\|]".I channelfile.SH OPTIONS.TP.BI \-d " vector\_dimension"Integer. Dimension of vectors represented by the symbols in the channel..TP.BI \-o " order"Integer. Entropy order. Possible values: 1 or 2; default = 1..SH DESCRIPTION.LP.B chnentropyprints the entropy of .I channelfile .RB ( CHN format) to .BR stdout . Option.B \-o gives the order of the entropy calculation. Valid values are 1 and 2.If order 1 is specified, the first-order entropy (sometimes calledthe zero-order entropy) is calculated as .IR H(X(t)) ,where .I X(t)is the random process represented by the channel.If order 2 is specified, the second-order conditional entropy,.IR H(X(t) " | " X(t-1)) ,is calculated;this is the average entropy of the current symbol conditioned on thepreceding symbol and gives an estimate of the entropy rateof a first-order Markov source.Of course,.I X(t)is assumed to be stationary and ergodic..LPIf option .B \-d is given, the entropy is given as bits per vector component (i.e.,it is the entropy of the channel symbols (first- or second-order)divided by .IR vector\_dimension ). Otherwise, the entropy printed is simply the entropy of channel symbols.For example, the.B \-d option gives a convenient way to calculate the bit rate, in bits peroriginal source symbol, when the channel corresponds to indices outputfrom a vector quantizer (see .BR vqencode (1))..LPThe .B \-vooption indicates that only the value of the entropy is to be printed(terse output)..LP.B chnentropyuses.BR QccChannelEntropy (3)to perform the entropy calculation..SH "SEE ALSO".BR QccChannelEntropy (3),.BR vqencode (1),.BR vqdecode (1),.BR QccChannel (3),.BR QccPack (3)T. M. Cover and J. T. Thomas, .IR "Elements of Information Theory" .New York: John Wiley & Sons, Inc., 1991.A. Gersho and R. Gray, .IR "Vector Quantization and Signal Compression" .Norwell, MA: Kluwer Academic Publishers, 1992..SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them and/or.\" modify them 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..\" .\" These programs are distributed in the hope that they 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 these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -