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)

xrd.import(filename)

Arguments

filename

full file name with path

Value

data frame with XRD data

Author

Thomas Gredig

Examples


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