revanalyzer.REV_formulas.get_dREV_size_2_scalar_dimensional

revanalyzer.REV_formulas.get_dREV_size_2_scalar_dimensional(values, threshold)

dREV size calculation for scalar metric defined i ‘x’, ‘y’ an ‘z’ directions using formula (dREV_size_2). Returns subsamples selection step, corresponding to maximal dREV size over all the directions.

Input:

values (dict, int[list(dtype=float)]): dictionary, in which a key is a subsamples selection step, and a value is a list of the differences of metric mean values for a current and next steps computed in all directions;

threshold (float, <1): threshold to estimate dREV size.

Output:

dREV step (int): subsamples selection step, corresponding to dREV size.