export2genx: Export XRD data into GenX format

View source: R/export2genx.R

export2genxR Documentation

Export XRD data into GenX format

Description

GenX uses the differential evolution algorithm for fitting X-ray reflectivity data. This function normalizes the data and formats x-ray reflectivity data, so that it can be imported with the GenX code. The data is saved to a text file. More details are found at: https://doi.org/10.1107/S1600576722006653

Usage

export2genx(
  dataXRD,
  exportPath = NULL,
  minTheta = 0,
  maxTheta = 4,
  GenX_filename = "xrd_data_genx_format.txt"
)

Arguments

dataXRD

xrd Object

exportPath

default is a temporary direction, stores the output file in this directory

minTheta

minimum 2Theta to be included

maxTheta

maximum 2Theta to be included in export

GenX_filename

filename for output file

Value

file name of the exported GenX text file

See Also

[xrd.import()]


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