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

View source: R/mrs_data_proc.R

bc_polyR Documentation

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

Description

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

Usage

bc_poly(mrs_data, p_deg = 1)

Arguments

mrs_data

mrs_data object.

p_deg

polynomial degree.

Value

polynomial subtracted data.


spant documentation built on Sept. 11, 2024, 9:13 p.m.