Rigaku SmartLab, MiniFlex and Ultima diffractometers save measurements as .ras text files,
.rasx archives from SmartLab Studio II, or .asc exports from PDXL. This page reads all three
and returns .xy, .xye, CSV, Excel or XRDML files, without SmartLab Studio or PDXL.
How to convert RAS or RASX to XY
- Upload the
.ras,.rasxor.ascfile; a whole folder can go in as a ZIP. - Choose the x axis (2θ as measured, d-spacing, Q or Cu-equivalent 2θ) and the intensity (counts, counts per second, or normalised to 100).
- Download the
.xyfor plotting or phase identification, or the.xyefor Rietveld refinement.
What the converter takes care of
- Attenuator factors. RAS and RASX files store a third column with the attenuator factor for each point. The intensity in the output is counts × factor, so strong peaks measured with the attenuator in place come out at the right height.
- Japanese and English text. RAS headers are Shift-JIS text and many values are pairs such
as
"日本語|English". The English part is kept for the metadata. - Counting time. Rigaku stores scan speed in degrees per minute rather than time per step. The time per step is worked out from step and speed, which is what Counts per second uses.
- Several profiles. Files with more than one data block give one scan each; the
.xyholds the first, and a ZIP holds them all.
Metadata you can check
The preview lists the instrument model, measurement date, anode, Kα1, Kα2 and Kβ wavelengths, 2θ range, step, number of points, time per step, detector (for example a HyPix3000), attachment, scan axis and mode, scan speed and generator voltage and current. The Excel workbook includes the same list on a metadata sheet.
Accuracy
A SmartLab .ras conversion was identical to the SmartLab .xy and PDXL .asc exports of the
same measurement, and RAS files also matched the independent xrayutilities reader.
Files that won't convert
- Rigaku's binary
.rawformat is recognised but not supported; export.rasor.xyfrom the Rigaku software instead. - A
.rasxthat contains only 2D detector images needs integrating to a 1D profile first.
To compare your Rigaku data with Cu reference patterns from a different tube, or to plot it against d-spacing, see 2θ to d-spacing. Other formats: XRDML to XY, Bruker RAW to XY.
More about what this tool reads and writes: XRD Pattern Converter (RAW, BRML, XRDML, RAS).