xrd.get.PeakProminence: Returns the Peak Prominence

View source: R/xrd.get.PeakProminence.R

xrd.get.PeakProminenceR Documentation

Returns the Peak Prominence

Description

Returns the Peak Prominence

Usage

xrd.get.PeakProminence(PeakStats)

Arguments

PeakStats

vector with the peak statistics

Value

percentage of the peak height with respect to background

Examples

filename = xrd.getSampleFiles()[1]
d = xrd.read.ASC(filename)
q = xrd.get.PeakStats(d$theta, d$I, 38.2)
xrd.get.PeakProminence(q)


thomasgredig/rigakuXRD documentation built on Feb. 3, 2024, 10:49 p.m.