next up previous contents index
Next: Errors Up: Accessing Information Previous: Histrogram attributes Contents

Contents

 

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.

HIVARIAB = HI (ID,I)HIJVARIAB = 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)

HXVARIAB = HX (ID,X)HXYVARIAB = 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)


Last update: Tue May 16 09:09:27 METDST 1995