# to see contents of create_data function, look at the top-most algorithm's code
baseline, params = baseline_fitter.imor(y, half_window=(4, 2), tol=5e-3)
create_plots(y, baseline)