Changes between Version 7 and Version 8 of DemoCalibrateTilted


Ignore:
Timestamp:
Sep 6, 2012 4:12:21 PM (10 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DemoCalibrateTilted

    v7 v8  
    55=== Step 1: download the data file  ===
    66Download 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
     7    https://subversion.xray.aps.anl.gov/trac/pyGSAS/browser/Examples/images/tilt-11ID/La_hex_%2B45deg-00015.tif?format=raw
     8    or https://subversion.xray.aps.anl.gov/pyGSAS/Examples/images/tilt-11ID/La_hex_+45deg-00015.tif
    99
    1010=== Step 2: Start GSAS-II ===
     
    3030
    3131 Use the '''Data/Read image data''' menu item to read the data file into the current GSAS-II project.
    32  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1m1.png view]).
     32 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1m1.png view]).
    3333 Select the {{{La_hex_+45deg-00015.tif}}} data file and press Open.
    3434
    3535 At this point the data tree window will have several entries
    36  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w1.png view]); the plot window
     36 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w1.png view]); the plot window
    3737 shows a faint image
    38  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w2.png view]) and a new window
     38 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w2.png view]) and a new window
    3939 is opened to edit the image controls
    40  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w3.png view]). 
     40 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w3.png view]). 
    4141
    4242=== Step 4: Edit image parameters ===
     
    5555   Controls window must be active to place this into the system menu bar). At this point the status line on the bottom of the
    5656   Image Controls window changes with a prompt to select points for calibration.
    57    ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w4.png view]).
     57   ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w4.png view]).
    5858
    5959 Third:
    6060  Use the left mouse button to click on at least five locations on the innermost ring. As each point is defined, a red "+" is added to the plot
    61   ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w5.jpg view]). 
     61  ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w5.jpg view]). 
    6262
    6363  To remove a point added in error click on that point with the right mouse button [on the Mac, if you have a single-button mouse, hold the Command (⌘) key down and click].
     
    6666  When done, press the right mouse button well away from any points that have been added [on the Mac, if you have a single-button mouse, hold the Command (⌘) key down and click].
    6767 The calibration is then performed. First the rings are located and an ellipse is optimized for each ring. The indexed rings are first shown in red as the calibration proceeds and center of each ellipse is noted with a blue "+". When all rings have been fitted, the entire ensemble of rings are refitted to the detector parameters and the rings are then shown in blue.
    68  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w6.jpg view]).
     68 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w6.jpg view]).
    6969 The derived calibration results are shown in the Image Controls window.
    70  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w7.jpg view]).
     70 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w7.jpg view]).
    7171 and the console window shows details of the fit; a trial refinement for the wavelength is also given for you to consider.
    7272 To see the actual points selected by the program, click on the "show ring picks?" check button
    73  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w8.jpg view]).
     73 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w8.jpg view]).
    7474 When this is done, it becomes clear that the points selected for the outermost ring are scattered between that and the next ring. This can be repaired by changing the "pixel search range" to 10 and then repeating the last calibration step (using the right mouse button)
    75  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w10.jpg view]).
     75 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w10.jpg view]).
    7676 This produces very slightly better calibration constants
    77  ([https://subversion.xor.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w9.jpg view]).
     77 ([https://subversion.xray.aps.anl.gov/trac/pyGSAS/attachment/wiki/DemoIntegrateTilted/d1w9.jpg view]).
    7878
    7979 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.