1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<HTML>
<HEAD>
<TITLE>Weights</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<P><font size="+2" color="green">Weights</font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%" valign="top"><CODE>
BIN\WEIGHTS w x xbin xcount<br />
BIN\AVERAGE\WEIGHTS w x xbin xcount<br />
BIN\EMPTY\WEIGHTS w x xbin xcount<br />
BIN\EDGES\WEIGHTS w x xbin xcount<br />
BIN\EDGES\EMPTY\WEIGHTS w x xbin xcount<br />
BIN\EDGES\EMPTY\AVERAGE\WEIGHTS w x xbin xcount</CODE>
</TD></TR>
</TABLE></P>
<P>
By default, a bin count is incremented by <CODE>1</CODE> for every event that
goes in a bin. If a weight vector is entered, you must indicate that it is
there by using <CODE>\WEIGHTS</CODE> qualifier. The weight <CODE>w</CODE> must be a vector with the
same length as <CODE>x</CODE>. The <CODE>i</code><sup>th</sup> event causes the bin count to be
incremented by <CODE>w[i]</CODE>.</P>
<P>
<a href="bincommand.htm"><img src="../shadow_left.gif">
<font size="+1" color="olive">BIN command</font></a><br />
<a href="nbins.htm"><img src="../shadow_right.gif">
<font size="+1" color="olive">Number of bins</font></a>
</P>
</BODY>
</HTML>
|