xrd.import: Imports Rigaku x-ray diffraction data

View source: R/xrd.import.R

xrd.importR Documentation

Imports Rigaku x-ray diffraction data

Description

Import function recognizes ASC, TXT, RAS, and RASX files from Rigaku x-ray diffraction instrument; returns an xrd object or data frame with 2theta, I (intensity normalized for time) and I.meas (measured intensity).

Usage

xrd.import(filename, xrd = FALSE)

Arguments

filename

full file name with path

xrd

logical, if TRUE an xrd object is returned

Value

xrd object or data frame with XRD data

Author(s)

Thomas Gredig

Examples

fname = xrd.getSampleFiles('rasx')
d = xrd.import(fname, TRUE)
plot(d)


thomasgredig/rigakuXRD documentation built on Nov. 7, 2024, 12:04 a.m.