.\"====================================================================
.\" THIS FILE CONTAINS THE HELP FOR CLASS PROGRAM-DEFINED FUNCTIONS
.\"====================================================================
.ec _
.ll 76
.ad b
.in 4
.\"====================================================================
.ti -4
1 TDV

TDV(V1,V2) returns the integrated area (sum of valid values times
velocity resolution, usually K.km/s) of the current R spectrum between
velocities V1 and V2.

V1 and V2 must be given in km/s. They will be rounded to the nearest
channels (included in the result).

Bad channels are ignored in the result. If all channels are bad, the
result is also bad.
.\"====================================================================
.ti -4
1 STDV

STDV(0) returns the integrated area (sum of valid values times
velocity resolution, usually K.km/s) of the current R spectrum. The
function argument is ignored but must be present.

Bad channels are ignored in the result. If all channels are bad, the
result is also bad.
.\"====================================================================
.ti -4
1 TPEAK

TPEAK(0) returns the peak temperature (maximum valid value) of the
current R spectrum. The function argument is ignored but must be
present.
.\"====================================================================
.ti -4
1 TPEAKV

TPEAKV(V1,V2) returns the peak temperature (maximum valid value,
usually K) of the current R spectrum between velocities V1 and V2.

V1 and V2 must be given in km/s. They will be rounded to the nearest
channels (included in the result).
.\"====================================================================
.ti -4
1 VPEAK

VPEAK(0) returns the velocity at peak (position of the maximum valid
value, usually km/s) of the current R spectrum. The function argument
is ignored but must be present.
.\"====================================================================
.ti -4
1 VPEAKV

VPEAKV(V1,V2) returns the velocity at peak (position of the maximum
valid value, usually km/s) of the current R spectrum between velocities
V1 and V2.

V1 and V2 must be given in km/s. They will be rounded to the nearest
channels (included in the result).
.\"====================================================================
.ti -4
1 ENDOFHELP
