invert4geom.optimal_buffer# optimal_buffer(target, buffer_perc_limits=(1, 50), n_trials=25, sampler=None, grid_search=False, fname=None, progressbar=True, parallel=False, plot=True, seed=0, **kwargs)[source]# Run an optimization to find best buffer zone width. Parameters: target (float) buffer_perc_limits (tuple[float, float]) n_trials (int) sampler (BaseSampler | None) grid_search (bool) fname (str | None) progressbar (bool) parallel (bool) plot (bool) seed (int) kwargs (Any) Return type: tuple[Study, tuple[float, float, int, Dataset]]