bc_constant: Remove a constant baseline offset based on a reference...

View source: R/mrs_data_proc.R

bc_constantR Documentation

Remove a constant baseline offset based on a reference spectral region.

Description

Remove a constant baseline offset based on a reference spectral region.

Usage

bc_constant(mrs_data, xlim)

Arguments

mrs_data

MRS data.

xlim

spectral range containing a flat baseline region to measure the offset.

Value

baseline corrected data.


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