# to see contents of create_data function, look at the top-most algorithm's code
baseline, params = baseline_fitter.imodpoly(y, poly_order=(1, 2), max_cross=0)
create_plots(y, baseline)