read_xrd: Parse a Panalytical XRDML file

View source: R/read_xrd.R

read_xrdR Documentation

Parse a Panalytical XRDML file

Description

Produces a tibble of intensity and 2-theta vales

Usage

read_xrd(path, scaled = TRUE, min_tth = 4, max_tth = 40)

Arguments

path

Character. full path to file

scaled

Logical. Whether to normalize intensity to maximum value (default TRUE)

min_tth

minimum value for 2-theta to keep (default 4)

max_tth

maximum value for 2-theta to keep (default 40)

Value

Tibble with 2 columns


evanmascitti/ecmfuns documentation built on April 5, 2025, 1:52 a.m.