index
- Format:
- index( scan_id, x_max [,int_expr start_index
[, int_expr stop_index]])
index( scan_id, x_min [,int_expr start_index
[, int_expr stop_index]])
index( scan_id, y_max [,int_expr start_index
[, int_expr stop_index]])
index( scan_id, y_min [,int_expr start_index
[, int_expr stop_index]])
index( scan_id, x_g*
reater_than, float_expr value
[, int_expr start_index [, int_expr stop_index]])
index( scan_id, x_l*
less_than, float_expr value
[, int_expr start_index [, int_expr stop_index]])
index( scan_id, y_g*
reater_than, float_expr value
[, int_expr start_index [, int_expr stop_index]])
index( scan_id, y_l*
ess_than, float_expr value
[, int_expr start_index [, int_expr stop_index]])
- Result:
- Number
- Description:
- Returns the index of a data point which has a
certain feature. The start_index and stop_index define the
search range. X_max etc. are keywords.
- e.g.:
-
- SPECTRA
>
*
= index( bpu1, y_max)
27
display the index of the point with the highest y-value
- SPECTRA
>
*
= bpu1(index( bpu1, y_max),1)
1667.3192
displays the x-value of the point with the highest y-value
- SPECTRA
>
*
= index( bpu1, y_greater_than, 1)
19
the index of the first point with a y-value >
1