xrd.import: Imports Rigaku XRD Data File

View source: R/xrd.importData.R

xrd.importR Documentation

Imports Rigaku XRD Data File

Description

Import function recognizes ASC, TXT, RAS, and RASX files from Rigaku XRD instrument; returns dataframe with 2theta, I (intensity normalized for time), and I.meas (measured intentsity)

Usage

xrd.import(filename)

Arguments

filename

full file name with path

Value

data frame with XRD data

Author(s)

Thomas Gredig

Examples


fname = xrd.getSampleFiles()[1]
d = xrd.import(fname)
plot(d$theta,d$I,log='y',col='red')


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