function varargout = data_eliminate_outliers_by_distance(data, threshold, diff_order, flag_interactive)
DESCRIPTION
varargout = data_eliminate_outliers_by_distance(data, diff_order, threshold, flag_interactive)
Sorts spectra according to distance from the mean spectra
If flag_interactive is on, a figure will be generated and the threshold
will be asked
CROSS-REFERENCE INFORMATION
This function calls:
data_map_rows function data = data_map_rows(data, idxnew)