Raman2df: Import Renishaw Raman spectra files (ASCII)

View source: R/import.R

Raman2dfR Documentation

Import Renishaw Raman spectra files (ASCII)

Description

Reads Raman (ASCII) datafile and returns a dataframe with the original data, as well as interpolated wavenumber and counts values (interpolated data is evenly spaced along x-axis, required for later peak fitting with diffractometry package).

Usage

Raman2df(datafilename, sampleid = "")

Arguments

datafilename

text string with full path to experimental file

sampleid

sampleid (optional, automatically created if not provided)

Value

Tibble with the following columns (and possibly some attributes): $ sampleid : char $ wavenum : numeric $ counts : numeric $ wnum.interp : interpolated wavenumber vector (equidistant) $ cts.interp : interpolated counts vector


chepec/renishaw documentation built on Sept. 1, 2022, 2:41 p.m.