Thomas Gredig's Home Page
XRD Sample Picture

XRD Image Generator

Description

The following script converts XRD text files from the Rigaku X-Ray Software with the extension ASC to HTML code with embedded graphs. The description of the file and other information is pulled from the ASC file and displayed together with a small thumbnail of the graph on the main page (index.html). You can click on the thumbnail to see the enlarged picture of the graph. The graph is automatically normalized to counts/min. as calculated from the rate and spacing given in the source file. All the information is stored in a subfolder. The graphs are generated with gnuplot and parsed with perl.

Requirements

The software has been tested on both Linux and Windows. To run the program, you may have to install the following programs:
  • GnuPlot - download GnuPlot 4.0 for Windows right away
  • Perl - download ActivePerl 5.8.7 for Windows right away

    Download

    Download XRD Image Generator.zip (10kB) with a sample file and description.

    Sample Data

    Here is a sample GnuPlot script that is generated for each file in the folder.

    (c) 2006-2008 Thomas Gredig