Reads the ASC Rigaku XRD file with a Header

xrd.read.ASC(filename)

Arguments

filename

filename including path

Value

data frame with XRD data

Examples


fname = xrd.getSampleFiles('asc')[1]
d = xrd.read.ASC(file.path(fname))
plot(d$theta,d$I,log='y',col='red')