Skip to content

Commit 58b2cfe

Browse files
committed
edit & divide up first ~1/3 of phase page
1 parent 8531b0f commit 58b2cfe

File tree

9 files changed

+321
-249
lines changed

9 files changed

+321
-249
lines changed

MDhelp/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ additional links that need to be added:
1616
10 docs/datatree.md
1717
207 docs/commontreeitems.md
1818

19+
In progress (being broken up into sections by tab):
20+
21+
629 docs/phase.md
22+
23+
1924
These files have had only minor editing. A few need to be broken up:
2025

2126
170 docs/cluster.md
2227
445 docs/histgramtree.md
2328
154 docs/image.md
2429
59 docs/pairdistribution.md
25-
629 docs/phase.md
2630
74 docs/powderpeak.md
2731
89 docs/reflectometry.md
2832
62 docs/sequential.md

MDhelp/docs/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ An index on the topics covered in these help pages is given below.
2121
1. [Graphics Window](./applicationwindow.md#Plots)
2222
1. [Console Window](./applicationwindow.md#Console)
2323
3. [Main menu contents](./mainmenu.md)
24-
4. Data tree entries and their use
25-
1. [Data tree overview](./datatree.md)
24+
4. Data tree entries and their use ([overview](./datatree.md))
2625
1. [Universal data tree](./commontreeitems.md) items
27-
2. [Phase](./phase.md) Data Tree headings
26+
2. [Phase Data Tree items (overview)](./phaseoverview.md)
27+
* [General Phase tab](./phasegeneral.md)
28+
* [Data Phase tab](./phasedata.md)
29+
* [Atoms Phase tab](./phaseatoms.md)
30+
2. [Phase](./phase.md) Data Tree headings
2831
3. [Image (IMG)](./image.md) Data Tree headings
2932
4. [Powder histogram (PWDR)](./histgramtree.md) Data Tree headings
3033
* Comments

MDhelp/docs/others.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,50 @@ GSAS-II provides a number of configuration settings that can be changed via vari
1717
<a name="RTFM"></a>
1818
## Programmers' documentation
1919

20-
The routines and classes used within GSAS-II are documented in a set of web pages and in a PDF document. This documentation is created from the Python source code files using Sphinx.
20+
The routines and classes used within GSAS-II are documented in a set of web pages and in a PDF document. This documentation is created from the Python source code files using Sphinx.
21+
22+
<a name="Origin_1"></a>
23+
## Origin 1 -> Origin 2 Transformations
24+
25+
An important transformation may be needed in certain cases for space groups that have two alternate origin settings [listed here](https://gsas-ii.readthedocs.io/en/latest/GSASIIutil.html#GSASII.GSASIIspc.spg2origins).
26+
These are centrosymmetric space groups where the highest symmetry point in the structure does not contain a center of symmetry. Origin 1 places the origin at the highest symmetry setting while Origin 2 places the origin at a center of symmetry (creating a -x,-y,-z symmetry operator, which means that reflection phases can only be 0 or π.) GSAS-II requires use of the Origin 2 settings because computations are much faster and simpler without complex structure factors. Alas, the literature contains a number of structures reported in Origin 1, where the origin choice may not be clearly communicated. (The CIF standard does not require that origin choice be indicated.) When a structure is imported that uses any of the space groups where an origin choice is possible, a message is shown in GSAS-II notifying the user that they must confirm that the origin choice is correct and then provides the opportunity to change origins.
27+
28+
**Example**: An example of what can go wrong is illustrated with the structure of anatase. The space group is \(I\ {\rm 4_1}/a\ m\ d\). The coordinates for the two origin choices are:
29+
30+
### Origin 1
31+
32+
| Atom | X | Y | Z |
33+
| ----- | --|---|-- |
34+
| Ti | 0 | 0 | 0 |
35+
| O | 0 | 0 | 0.208 |
36+
37+
### Origin 2
38+
39+
| Atom | X | Y | Z |
40+
| ----- | --|---|-- |
41+
| Ti | 0 | 1/4 | -1/8 |
42+
| O | 0 | 1/4 | 0.083 |
43+
44+
Note that the Origin 2 coordinates are shifted by by addition of (0,1/4,-1/8) relative to those in Origin 1 (the values in the [GSASIIspc.spg2origins array](https://gsas-ii.readthedocs.io/en/latest/GSASIIutil.html#GSASII.GSASIIspc.spg2origins)).
45+
46+
GSAS-II always uses the symmetry operators for Origin 2; if the structure is input incorrectly with the coordinates set for Origin 1, there are several obvious signs of problems:
47+
48+
* the site symmetries and multiplicities are wrong, often giving an incorrect chemical formula,
49+
* the interatomic distances are incorrect
50+
* a plot of the structure is improbable, as below:
51+
52+
![Wrong structure](./images/wrong.png)
53+
54+
In this case incorrect multiplicities gives rise to a density of 7.9 g/cc, double the correct value. Impossible interatomic distances of 1.88Å for Ti-Ti, and 1.39Å for Ti-O are seen. The unit cell contents with the wrong space group operators is shown above.
55+
56+
With coordinates that match the space group operations, the correct Ti-O distances are 1.92Å and 1.97Å and the shortest Ti-Ti distance is 3.0Å. (Note that interatomic distances can be computed in GSAS-II using the Phase's Atoms tab and the Compute/"Show Distances & Angles" menu item.)
57+
58+
**Transform Origin**: To transform a space group setting from Origin setting 1 to 2, use the Transform option in the Compute menu of a Phase's General tab and then select the last option in the "Common transformations" pulldown menu, which will be setting 1->2 for space groups where both origins are available, as shown to the right. The transformation matrix will be set to the identity and the "V" vector will have the required origin shift loaded. Press OK. The changes can be seen by selecting the Atoms tab.
59+
60+
![xform](./images/xform.png)
61+
62+
63+
2164

2265
<a name="FPA"></a>
2366
## Fundamental Parameters as used to derive instrumental parameters

0 commit comments

Comments
 (0)