Contents

[HCONTENT]

                  +------------------------------------+
                  |CALL  HUNPAK (ID,CONTEN*,CHOICE,NUM) |
                  +------------------------------------+
                                  

Action: Transfer the contents of a histogram or a selected projection of a 2-dimensional histogram into the local array.

Input parameters:
ID
Histogram identifier
CHOICE
Character variable selecting subhistograms (irrelevant for the 1-dimensional case)
'HIST'
the 2-dimensional histogram itself. Default CHOICE=' ' is equivalent to 'HIST'.
'PROX'
X projection
'PROY'
Y projection
'SLIX'
X slice
'SLIY'
Y slice
'BANX'
X band
'BANY'
Y band
NUM
Serial order of the slice or band that is requested. If NUM=0, it is assumed to be 1.
Output Parameter:
CONTEN
Array to be dimensioned at least to the number of channels of the histogram (or projection), i.e. DIMENSION CONTEN(NX) in the 1-dimensional case and DIMENSION CONTEN(NX,NY) in the 2-dimensional case.

                        +-------------------+
                        |VARIAB =  HI (ID,I) |
                        +-------------------+
                        and--------------------+
                        |VARIAB =  HIJ (ID,I,J) |
                        +----------------------+
                                  

Action: These functions return the channel contents in a given histogram bin in the 1-dimensional and 2-dimensional case respectively.

Input parameters:
ID
Histogram identifier
I
Bin number in X-dimension.
J
Bin number in Y-dimension (2-dimensional case, i.e. HIJ only)

  1. When I, J are zero, then HI/HIJ returns the number of underflows
  2. When NX, NY are respectively the number of channels in X and Y and I=NX+1, J=NY+1, then HI/HIJ returns the number of overflows
                            +-------------------+
                            |VARIAB =  HX (ID,X) |
                            +-------------------+
                            and--------------------+
                            |VARIAB =  HXY (ID,X,Y) |
                            +----------------------+
                                      

    Action: These functions return the channel contents in a given histogram of the bin which contains a given value in X (1-dimensional case) or a given pair of (X,Y) (2-dimensional case).

    Input parameters:
    ID
    Histogram identifier
    X
    X-value
    Y
    Y-value (2-dimensional case, i.e. HXY only)