Learn R Programming

hdf5r (version 1.3.3)

regularity_eval_to_selection: Turn regulation evaluation into a selection for a space object

Description

Turn regulation evaluation into a selection for a space object

Usage

regularity_eval_to_selection(reg_eval_res)

Arguments

reg_eval_res

The result of the args_regularity_evaluation function

Value

Returns an object with either the point-matrix or the hyperslab-selection array. The resulting object is of class point_selection or hyperslab_selection.

Details

Analyzes the results of the regularity evaluation of each dimension and checks if it needs to be into a hyperslab-selection or a point-selection. A hyperslab selection will be chosen whenever there are significantly less of it than the number of selected points. The ratio is determined by the option hdf5r.point_to_hyperslab_ratio. If this is 1, then always hyperslabs will be used.