Jump to: navigation, search

view.gtk is a simple GUI for viewing 2D data, calibrating your data into q-space, and extracting linecuts. It was written by Lin Yang for the X9 beamline at NSLS. It is built based on the GTK libraries, and can be run on Windows, Mac OS, and Linux.


view.gtk can be downloaded here. The sofware requires installing the GTK bundle. For detailed installation instructions, including some troubleshooting help, refer to: view.gtk installation.


The software download includes a "doc" directory, which has a quick-start guide and a more detailed manual.

Calibrating with a Standard

  1. Load a datafile for your standard in the usual way:
    1. Select "Format" from the menu and set it to the correct detector type
    2. Select "File" > "Open" and select the data file for the standard
  2. Load an existing configuration as a starting point. On the "basics" tab, update the "config" number and click "load".
  3. Set the wavelength to the correct value.
  4. On the "extended functions" tab, set the "reference pattern" to the standard in question.
  5. On the "basics" tab, update the various parameters (D/d, detector geometry, beam center) to get the reference pattern to align with the experimental pattern.
  6. Save the configuration by setting the config number and clicking "save" ("basics" tab).