Skip to contents

Calculate peak purity values

Usage

get_purity_values(
  x,
  pos,
  weight = 1,
  noise_variance = NULL,
  noise_threshold = 0.005,
  lambdas
)

Arguments

x

A chromatogram in matrix format

pos

A vector containing peak information

weight

weight provided to get_agilent_threshold.

noise_variance

Variance of noise. Argument to get_agilent_threshold.

noise_threshold

Threshold to define noise. Highest proportion of maximum absorbance.

lambdas

Wavelengths to include in calculations.

Value

Returns a vector of peak purity values at each timepoint within the peak specified by pos.

References

Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” Agilent Technologies, April 1, 2003, 16. /hrefhttps://www.agilent.com/cs/library/applications/5988-8647EN.pdf

Author

Ethan Bass