Baseline_Correction: Baseline_Correction

View source: R/Baseline_Correction.R

Baseline_CorrectionR Documentation

Baseline_Correction

Description

A simple GUI to remove a baseline from spectra in a file.

Usage

Baseline_Correction(lefichier = NULL)

Arguments

lefichier

a filename to work on.

Details

The file format must conform to the one required by InSpectoR. See InSpectoR for details. The method to calculate the baseline is from the baseline package, namely the baseline function with method='modpolyfit'. A GUI helps the user to select parameters to perform the fit.

Value

Baseline corrected spectra and baseline spectra are stored in files with the same name as the input file but with "Corrected" or "Baseline" keyword added.

Examples

dfile <- system.file("raman","Raman_I.txt",package="inspectrar")
Baseline_Correction(dfile)

PannetonB/inspectrar documentation built on Feb. 4, 2023, 1:57 p.m.