
GeoB
ASIC
Reference Manual
5.Standard Functions
TPS1100-Version 1.30
5-55
Return Codes
RC_OK
successful creation, adding, and
evaluation
RC_IV_RESULT
When calling
GM_CalcMeanOfHz
with no successful previous call of
GM_CalcMeanOfHz_Add
.
GM_OUT_OF_RANGE
This may occur when calling
GM_CalcMeanOfHz_Add(
..., ..., FALSE )
Two reasons:
1. no data series exists,
2.
too many data items.
GM_TOO_FEW_
OBSERVATIONS
Too few observations to be able to
calculate the average. The recovered
values are not defined.
Example
Calculate the weighted average etc.
DIM Mean AS GM_Mean_StdDev_Type
GM_CalcMeanOfHz_Add( 1.0, TRUE
)
GM_CalcMeanOfHz_Add( 2.0, FALSE )
GM_CalcMeanOfHz_Add( 3.0, FALSE )
GM_CalcMean( Mean )
5.6.18 GM_CalcMedianOfHz
Description
Calculation of Hz-directions and the average as median.
Declaration
GM_CalcMedianOfHz_Add(
byVal dHzDirection AS Double,
byVal lStartNew
AS Logical )
GM_CalcMedianOfHz( dMedian AS Double )
Remarks
The first function creates an internal data list and adds Hz-
directions to it. The second is calculating the average as median
evaluating the added Hz-directions in the list.
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...