Mir 1.0
Mir application programming interface
mirml_fsampler_1d_options Struct Reference

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
 

Detailed Description

Control options for 1d-fsampler.

Field Documentation

◆ max_curvature

double mirml_fsampler_1d_options::max_curvature

Sine of maximum deviation angle between line segments. Larger angles will cause refinement.

◆ min_dx

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.

◆ min_dy_abs

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.

◆ range_bias

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.


The documentation for this struct was generated from the following file: