/HISTOGRAM_GET_VECT
Fill a vector from values stored in HBOOK objects.
- ID
C ' Histogram Identifier '
- VNAME
C ' Vector name '
Get contents of histogram ID into vector VNAME.
- ID
C ' Histogram Identifier '
- VNAME
C ' Vector name '
Get errors of histogram ID into vector VNAME.
- ID
C ' Histogram Identifier '
- VNAME
C ' Vector name '
Get function associated to histogram ID into vector VNAME.
- ID
C ' Histogram Identifier '
- VNAME
C ' Vector name '
Get values of center of bins abscissa into vector VNAME.
- ID
C ' Histogram Identifier '
- X
C ' Name of vector X '
- Y
C ' Name of vector Y '
- EX
C ' Name of vector EX '
- EY
C ' Name of vector EY '
- N
I ' Number of elements to fill ' D=100
- IFIRST
I ' First bin ' D=1
- ILAST
I ' Last bin ' D=100
- CHOPT
C ' Option ' D=' '
CHOPT:
- 'N'
-
Do not normalize values in Y
The specified channels of the 1-Dim histogram ID are cumulated (rebinned)
into new bins. The final contents of the new bin is the average of the
original bins by default. If the option N is given, the final contents of
the new bin is the sum of the original bins. Get contents and errors into
vectors, grouping bins. Bin width and centers are also extracted. Allow
to combine 2, 3 or more bins into one.
E.g.: REBIN 110 X Y EX EY 25 11 85
will group by 3 channels 11 to 85 and return
new abscissa, contents and errors.
Errors in X are equal to 1.5*BINWIDTH.
N.B.:
REBIN ID X Y EX EY is a convenient way to return in
one call abscissa, contents and errors for 1-Dim histogram.
In this case the errors in X are equal to 0.5*BINWIDTH.