Reads the TXT Rigaku XRD file with a Header

xrd.read.TXT(filename)

Arguments

filename

filename including path

Value

data frame with XRD data

Examples


fname = xrd.getSampleFiles('txt')
d = xrd.read.TXT(fname)
plot(d$theta,d$I,log='y',col='red')