Changes between Version 9 and Version 10 of DemoIntegrateTilted


Ignore:
Timestamp:
Jul 28, 2011 10:26:56 AM (12 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DemoIntegrateTilted

    v9 v10  
    1 = Calibration of an area detector in GSAS-II =
     1= Integration of area detector data in GSAS-II =
    22
    33''In this demo, data collected with a GE(?) area detector, intentionally tilted at 45 degrees, are used. Note that menu entries are listed below as Help/About GSAS-II, which lists first the name of the menu (here "Help") and second the name of the entry in the menu (here "About GSAS-II").''
    44
    5 === Step 1: download the data file  ===
    6 Download the sample data file from one of these links:
    7     https://subversion.xor.aps.anl.gov/trac/pyGSAS/browser/Examples/images/tilt-11ID/La_hex_%2B45deg-00015.tif?format=raw
    8     or https://subversion.xor.aps.anl.gov/pyGSAS/Examples/images/tilt-11ID/La_hex_+45deg-00015.tif
     5== Prerequisite: [DemoCalibrateTilted Calibration Demo] ==
    96
    10 === Step 2: Start GSAS-II ===
     7This assumes that an image data set has been read in and calibration results have been derived, see the [DemoCalibrateTilted Calibration Demo]
    118
    12  This is done in different ways, depending on your OS and how GSAS-II is installed.
     9=== Step 1: Clear calibration plot   ===
    1310
    14    {{{
    15 apsvisit24d:demo1 toby$ python ~/software/work/GSASII/GSASII.py
    16 Available python module versions for GSASII:
    17 python:      2.7.1
    18 wxpython:    2.8.10.1
    19 matplotlib:  1.0.1
    20 numpy:       1.5.1
    21 scipy:       0.9.0rc2
    22 OpenGL:      3.0.1
    23 Max threads  1
    24 }}}
     11 Assuming the previous step was calibration, the image plot will show the located rings or the picked points. These are no longer needed. The Image Controls/Clear Calibration menu entry removes these intermediate results, ''but does not clear the calibration results''. Use of this menu item is not required, but does speed future display of results.
    2512
    26  The GSAS-II program has now been started and an empty project file is created. The project file contains all data and results related to the project you are working on. (Exception: image files are not stored in the project; to save space only the file name is saved.)
    27 You should see two windows, both empty. One, in the upper left, is labeled GSASII Plots, the other, in the upper right, is labeled GSAS-II data tree. On Linux and Windows a menu bar appears on the latter data tree window; on a Mac the menu is in the system menu bar location (usually at the screen top).
     13=== Step 2: Integration Settings ===
     14
     15In the simplest case, all that is needed is to click on the "Do full integration?" checkbox and likely adjust the inner and outer 2-theta values with the two "Inner/Outer 2-theta" controls. For the La_hex_+45deg-00015.tif image loaded before, good values are 0.5 and 7 degrees.
     16
     17It is helpful to see the two-theta limits on the plot visually, while adjusting the two-theta range. This is done by clicking on the "Show integration limits?" checkbox. Note that inner limit is shown as a green ellipse and the outer is shown as a red ellipse. Note that changes are displayed only after pressing return, when numbers are placed in the boxes.
     18
     19Other useful controls:
     20 Azimuth offset:
     21 Start/End azimuth:
     22 Number 2-theta bins:
     23 Number azimuth bins:
     24
     25When only a section of the
     26
    2827
    2928=== Step 3: read in the data file ===
     
    8079 Assuming that these calibration results will be applied to other images in the same GSAS-II project, click on "Use as default for all images." To save the project, including the now-derived calibration information, use the File/Save Project menu item associated with the data tree window.
    8180
    82 == Next step: [IntegrateData Integrate the Data] ==
     81== Next step: [DemoCalibrateTilted Integrate the Data] ==