Control options for 1d-fsampler. More...
#include <mirml_fsampler.h>
Data Fields | |
double | min_dy_abs |
double | min_dy_rel |
double | max_curvature |
double | min_dx |
int | range_bias |
Control options for 1d-fsampler.
double mirml_fsampler_1d_options::max_curvature |
Sine of maximum deviation angle between line segments. Larger angles will cause refinement.
double mirml_fsampler_1d_options::min_dx |
The minimum absolute x-spacing below which further refinement is not needed. This is an absolute measure, not relative to the total x-range.
double mirml_fsampler_1d_options::min_dy_abs |
The absolute and relative y-spacing below which further refinement is not needed. min_dy_rel is relative to the maximum y-range observed.
int mirml_fsampler_1d_options::range_bias |
Whether to bias sampling towards the top or bottom of the range. When 0, no bias is applied, and both peaks and troughs are resolved. When 1, only troughs are resolved, and when 2, only peaks are resolved.