Difference between revisions of "View.gtk"

From GISAXS
Jump to: navigation, search
(Calibrating with a Standard)
 
Line 13: Line 13:
 
## Select "File" > "Open" and select the data file for the standard
 
## Select "File" > "Open" and select the data file for the standard
 
# Load an existing configuration as a starting point. On the "basics" tab, update the "config" number and click "load".
 
# Load an existing configuration as a starting point. On the "basics" tab, update the "config" number and click "load".
# Set the wavelength to the correct value. Use the "getE" command in [[X9:fourc|fourc]] to determine the current energy.
+
# Set the wavelength to the correct value.
# On the "extended functions" tab, set the "reference pattern" to the standard in question. This is usually [[X-ray#Silver_Behenate|AgBH]], but you can also use a user-defined series of peaks/shapes.
+
# On the "extended functions" tab, set the "reference pattern" to the standard in question.
 
# 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.
 
# 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.
 
# Save the configuration by setting the config number and clicking "save" ("basics" tab).
 
# Save the configuration by setting the config number and clicking "save" ("basics" tab).

Latest revision as of 09:24, 4 June 2014

Viewgtk-2Dview.gif
Viewgtk-Control-basics.gif

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.

Installation

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.

Usage

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).