est_noise_sd: Estimate the standard deviation of the noise from a segment...

View source: R/mrs_data_proc.R

est_noise_sdR Documentation

Estimate the standard deviation of the noise from a segment of an mrs_data object.

Description

Estimate the standard deviation of the noise from a segment of an mrs_data object.

Usage

est_noise_sd(mrs_data, n = 100, offset = 100, p_order = 2)

Arguments

mrs_data

MRS data object.

n

number of data points (taken from the end of array) to use in the estimation.

offset

number of final points to exclude from the calculation.

p_order

polynomial order to fit to the data before estimating the standard deviation.

Value

standard deviation array.


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