Fit and subtract a polynomial to each spectrum in a dataset.

bc_poly(mrs_data, p_deg = 1)

Arguments

mrs_data

mrs_data object.

p_deg

polynomial degree.

Value

polynomial subtracted data.