Coordinates the binary search fitting process for weight or consumption targets, then runs a final detailed simulation with the optimal p_value.
fit_fb4_binary_search(
target_value,
fit_type,
processed_simulation_data,
oxycal = 13560,
tolerance = 0.001,
max_iterations = 25,
lower_bound = 0.01,
upper_bound = 5,
verbose = FALSE
)List with fitting results and final simulation
Target value to fit
Type of fitting ("weight" or "consumption")
Complete processed simulation data
Oxycalorific coefficient (J/g O2), default 13560
Tolerance for convergence, default 0.001
Maximum number of iterations, default 25
Whether to show progress messages, default FALSE