Parses .uxd-files from a 2theta-omega scan from a Bruker D8 XRD system.
- Clone this repository:
git clone git@github.com:matsest/parse-xrd.git
- Append the path to the repo to your
$PATH
:echo 'export PATH=$PATH:<repo-dir-path>' >> ~/.bashrc
Use from a command line prompt as
$ parse-xrd <input_file.uxd>
This creates a output file <input_file>out.csv
in the format
2theta,counts
39.2,10
39.3,13
39.4,15
with all the (2theta,counts)-values in the file.
It is also possible to use a wildcard to parse all valid files in a given directory, e.g.
$ parse-xrd *.uxd
which will create output files with individual names.