1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | |
---|
4 | |
---|
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
6 | <head> |
---|
7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
8 | |
---|
9 | <title>GSAS-II Utility Modules — GSAS-II 0.2.0 documentation</title> |
---|
10 | |
---|
11 | <link rel="stylesheet" href="_static/default.css" type="text/css" /> |
---|
12 | <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
---|
13 | |
---|
14 | <script type="text/javascript"> |
---|
15 | var DOCUMENTATION_OPTIONS = { |
---|
16 | URL_ROOT: './', |
---|
17 | VERSION: '0.2.0', |
---|
18 | COLLAPSE_INDEX: false, |
---|
19 | FILE_SUFFIX: '.html', |
---|
20 | HAS_SOURCE: true |
---|
21 | }; |
---|
22 | </script> |
---|
23 | <script type="text/javascript" src="_static/jquery.js"></script> |
---|
24 | <script type="text/javascript" src="_static/underscore.js"></script> |
---|
25 | <script type="text/javascript" src="_static/doctools.js"></script> |
---|
26 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
---|
27 | <link rel="top" title="GSAS-II 0.2.0 documentation" href="index.html" /> |
---|
28 | <link rel="next" title="GSAS-II GUI Routines" href="GSASIIGUIr.html" /> |
---|
29 | <link rel="prev" title="GSASIIobj: Data objects" href="GSASIIobj.html" /> |
---|
30 | </head> |
---|
31 | <body> |
---|
32 | <div class="related"> |
---|
33 | <h3>Navigation</h3> |
---|
34 | <ul> |
---|
35 | <li class="right" style="margin-right: 10px"> |
---|
36 | <a href="genindex.html" title="General Index" |
---|
37 | accesskey="I">index</a></li> |
---|
38 | <li class="right" > |
---|
39 | <a href="py-modindex.html" title="Python Module Index" |
---|
40 | >modules</a> |</li> |
---|
41 | <li class="right" > |
---|
42 | <a href="GSASIIGUIr.html" title="GSAS-II GUI Routines" |
---|
43 | accesskey="N">next</a> |</li> |
---|
44 | <li class="right" > |
---|
45 | <a href="GSASIIobj.html" title="GSASIIobj: Data objects" |
---|
46 | accesskey="P">previous</a> |</li> |
---|
47 | <li><a href="index.html">GSAS-II 0.2.0 documentation</a> »</li> |
---|
48 | </ul> |
---|
49 | </div> |
---|
50 | |
---|
51 | <div class="document"> |
---|
52 | <div class="documentwrapper"> |
---|
53 | <div class="bodywrapper"> |
---|
54 | <div class="body"> |
---|
55 | |
---|
56 | <div class="section" id="module-GSASIIdata"> |
---|
57 | <span id="gsas-ii-utility-modules"></span><h1><em>GSAS-II Utility Modules</em><a class="headerlink" href="#module-GSASIIdata" title="Permalink to this headline">¶</a></h1> |
---|
58 | <div class="section" id="gsasiidata-data-for-computations"> |
---|
59 | <h2><em>GSASIIdata: Data for computations</em><a class="headerlink" href="#gsasiidata-data-for-computations" title="Permalink to this headline">¶</a></h2> |
---|
60 | <p>At present this module defines one dict, <tt class="docutils literal"><span class="pre">ramachandranDist</span></tt>, |
---|
61 | which contains arrays for All and specific amino acids</p> |
---|
62 | </div> |
---|
63 | <span class="target" id="module-GSASIIpath"></span><div class="section" id="gsasiipath-locations-updates"> |
---|
64 | <h2><em>GSASIIpath: locations & updates</em><a class="headerlink" href="#gsasiipath-locations-updates" title="Permalink to this headline">¶</a></h2> |
---|
65 | <p>Routines for dealing with file locations, etc.</p> |
---|
66 | <p>Determines the location of the compiled (.pyd or .so) libraries.</p> |
---|
67 | <p>Interfaces with subversion (svn): |
---|
68 | Determine the subversion release number by determining the highest version number |
---|
69 | where <a class="reference internal" href="#GSASIIpath.SetVersionNumber" title="GSASIIpath.SetVersionNumber"><tt class="xref py py-func docutils literal"><span class="pre">SetVersionNumber()</span></tt></a> is called (best done in every GSASII file). |
---|
70 | Other routines will update GSASII from the subversion server if svn can be |
---|
71 | found.</p> |
---|
72 | <p>Accesses configuration options, as defined in config.py</p> |
---|
73 | <dl class="function"> |
---|
74 | <dt id="GSASIIpath.DoNothing"> |
---|
75 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">DoNothing</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#DoNothing"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.DoNothing" title="Permalink to this definition">¶</a></dt> |
---|
76 | <dd><p>A routine that does nothing. This is called in place of IPyBreak and pdbBreak |
---|
77 | except when the debug option is set True in config.py</p> |
---|
78 | </dd></dl> |
---|
79 | |
---|
80 | <dl class="function"> |
---|
81 | <dt id="GSASIIpath.GetConfigValue"> |
---|
82 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">GetConfigValue</tt><big>(</big><em>key</em>, <em>default=None</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#GetConfigValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.GetConfigValue" title="Permalink to this definition">¶</a></dt> |
---|
83 | <dd><p>Return the configuration file value for key or a default value if not present</p> |
---|
84 | <table class="docutils field-list" frame="void" rules="none"> |
---|
85 | <col class="field-name" /> |
---|
86 | <col class="field-body" /> |
---|
87 | <tbody valign="top"> |
---|
88 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
89 | <li><strong>key</strong> (<em>str</em>) – a value to be found in the configuration (config.py) file</li> |
---|
90 | <li><strong>default</strong> – a value to be supplied is none is in the config file or |
---|
91 | the config file is not found. Defaults to None</li> |
---|
92 | </ul> |
---|
93 | </td> |
---|
94 | </tr> |
---|
95 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">the value found or the default.</p> |
---|
96 | </td> |
---|
97 | </tr> |
---|
98 | </tbody> |
---|
99 | </table> |
---|
100 | </dd></dl> |
---|
101 | |
---|
102 | <dl class="function"> |
---|
103 | <dt id="GSASIIpath.GetVersionNumber"> |
---|
104 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">GetVersionNumber</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#GetVersionNumber"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.GetVersionNumber" title="Permalink to this definition">¶</a></dt> |
---|
105 | <dd><p>Return the maximum version number seen in <a class="reference internal" href="#GSASIIpath.SetVersionNumber" title="GSASIIpath.SetVersionNumber"><tt class="xref py py-func docutils literal"><span class="pre">SetVersionNumber()</span></tt></a></p> |
---|
106 | </dd></dl> |
---|
107 | |
---|
108 | <dl class="function"> |
---|
109 | <dt id="GSASIIpath.IPyBreak"> |
---|
110 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">IPyBreak</tt><big>(</big><big>)</big><a class="headerlink" href="#GSASIIpath.IPyBreak" title="Permalink to this definition">¶</a></dt> |
---|
111 | <dd><p>A routine that does nothing. This is called in place of IPyBreak and pdbBreak |
---|
112 | except when the debug option is set True in config.py</p> |
---|
113 | </dd></dl> |
---|
114 | |
---|
115 | <dl class="function"> |
---|
116 | <dt id="GSASIIpath.IPyBreak_base"> |
---|
117 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">IPyBreak_base</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#IPyBreak_base"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.IPyBreak_base" title="Permalink to this definition">¶</a></dt> |
---|
118 | <dd><p>A routine that invokes an IPython session at the calling location |
---|
119 | This routine is only used when debug=True is set in config.py</p> |
---|
120 | </dd></dl> |
---|
121 | |
---|
122 | <dl class="function"> |
---|
123 | <dt id="GSASIIpath.InvokeDebugOpts"> |
---|
124 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">InvokeDebugOpts</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#InvokeDebugOpts"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.InvokeDebugOpts" title="Permalink to this definition">¶</a></dt> |
---|
125 | <dd><p>Called in GSASII.py to set up debug options</p> |
---|
126 | </dd></dl> |
---|
127 | |
---|
128 | <dl class="function"> |
---|
129 | <dt id="GSASIIpath.LoadConfigFile"> |
---|
130 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">LoadConfigFile</tt><big>(</big><em>filename</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#LoadConfigFile"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.LoadConfigFile" title="Permalink to this definition">¶</a></dt> |
---|
131 | <dd><p>Read a GSAS-II configuration file. |
---|
132 | Comments (starting with “%”) are removed, as are empty lines</p> |
---|
133 | <table class="docutils field-list" frame="void" rules="none"> |
---|
134 | <col class="field-name" /> |
---|
135 | <col class="field-body" /> |
---|
136 | <tbody valign="top"> |
---|
137 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>filename</strong> (<em>str</em>) – base file name (such as ‘file.dat’). Files with this name |
---|
138 | are located from the path and the contents of each are concatenated.</td> |
---|
139 | </tr> |
---|
140 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a list containing each non-empty (after removal of comments) line |
---|
141 | found in every matching config file.</td> |
---|
142 | </tr> |
---|
143 | </tbody> |
---|
144 | </table> |
---|
145 | </dd></dl> |
---|
146 | |
---|
147 | <dl class="function"> |
---|
148 | <dt id="GSASIIpath.SetConfigValue"> |
---|
149 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">SetConfigValue</tt><big>(</big><em>parmdict</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#SetConfigValue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.SetConfigValue" title="Permalink to this definition">¶</a></dt> |
---|
150 | <dd><p>Set configuration variables from a dictionary where elements are lists |
---|
151 | First item in list is the default value and second is the value to use.</p> |
---|
152 | </dd></dl> |
---|
153 | |
---|
154 | <dl class="function"> |
---|
155 | <dt id="GSASIIpath.SetVersionNumber"> |
---|
156 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">SetVersionNumber</tt><big>(</big><em>RevString</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#SetVersionNumber"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.SetVersionNumber" title="Permalink to this definition">¶</a></dt> |
---|
157 | <dd><p>Set the subversion version number</p> |
---|
158 | <table class="docutils field-list" frame="void" rules="none"> |
---|
159 | <col class="field-name" /> |
---|
160 | <col class="field-body" /> |
---|
161 | <tbody valign="top"> |
---|
162 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>RevString</strong> (<em>str</em>) – something like “$Revision: 1971 $” |
---|
163 | that is set by subversion when the file is retrieved from subversion.</td> |
---|
164 | </tr> |
---|
165 | </tbody> |
---|
166 | </table> |
---|
167 | <p>Place <tt class="docutils literal"><span class="pre">GSASIIpath.SetVersionNumber("$Revision:</span> <span class="pre">1971</span> <span class="pre">$")</span></tt> in every python |
---|
168 | file.</p> |
---|
169 | </dd></dl> |
---|
170 | |
---|
171 | <dl class="function"> |
---|
172 | <dt id="GSASIIpath.exceptHook"> |
---|
173 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">exceptHook</tt><big>(</big><em>*args</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#exceptHook"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.exceptHook" title="Permalink to this definition">¶</a></dt> |
---|
174 | <dd><p>A routine to be called when an exception occurs. It prints the traceback |
---|
175 | with fancy formatting and then calls an IPython shell with the environment |
---|
176 | of the exception location.</p> |
---|
177 | <p>This routine is only used when debug=True is set in config.py</p> |
---|
178 | </dd></dl> |
---|
179 | |
---|
180 | <dl class="function"> |
---|
181 | <dt id="GSASIIpath.pdbBreak"> |
---|
182 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">pdbBreak</tt><big>(</big><big>)</big><a class="headerlink" href="#GSASIIpath.pdbBreak" title="Permalink to this definition">¶</a></dt> |
---|
183 | <dd><p>A routine that does nothing. This is called in place of IPyBreak and pdbBreak |
---|
184 | except when the debug option is set True in config.py</p> |
---|
185 | </dd></dl> |
---|
186 | |
---|
187 | <dl class="function"> |
---|
188 | <dt id="GSASIIpath.svnFindLocalChanges"> |
---|
189 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnFindLocalChanges</tt><big>(</big><em>fpath='/Users/toby/software/G2/GSASII'</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnFindLocalChanges"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnFindLocalChanges" title="Permalink to this definition">¶</a></dt> |
---|
190 | <dd><dl class="docutils"> |
---|
191 | <dt>Returns a list of files that were changed locally. If no files are changed,</dt> |
---|
192 | <dd>the list has length 0</dd> |
---|
193 | </dl> |
---|
194 | <table class="docutils field-list" frame="void" rules="none"> |
---|
195 | <col class="field-name" /> |
---|
196 | <col class="field-body" /> |
---|
197 | <tbody valign="top"> |
---|
198 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>fpath</strong> – path to repository dictionary, defaults to directory where |
---|
199 | the current file is located</td> |
---|
200 | </tr> |
---|
201 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">None if there is a subversion error (likely because the path is |
---|
202 | not a repository or svn is not found)</td> |
---|
203 | </tr> |
---|
204 | </tbody> |
---|
205 | </table> |
---|
206 | </dd></dl> |
---|
207 | |
---|
208 | <dl class="function"> |
---|
209 | <dt id="GSASIIpath.svnGetLog"> |
---|
210 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnGetLog</tt><big>(</big><em>fpath='/Users/toby/software/G2/GSASII'</em>, <em>version=None</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnGetLog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnGetLog" title="Permalink to this definition">¶</a></dt> |
---|
211 | <dd><p>Get the revision log information for a specific version of the specified package</p> |
---|
212 | <table class="docutils field-list" frame="void" rules="none"> |
---|
213 | <col class="field-name" /> |
---|
214 | <col class="field-body" /> |
---|
215 | <tbody valign="top"> |
---|
216 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
217 | <li><strong>fpath</strong> (<em>str</em>) – path to repository dictionary, defaults to directory where |
---|
218 | the current file is located.</li> |
---|
219 | <li><strong>version</strong> (<em>int</em>) – the version number to be looked up or None (default) |
---|
220 | for the latest version.</li> |
---|
221 | </ul> |
---|
222 | </td> |
---|
223 | </tr> |
---|
224 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">a dictionary with keys (one hopes) ‘author’, ‘date’, ‘msg’, and ‘revision’</p> |
---|
225 | </td> |
---|
226 | </tr> |
---|
227 | </tbody> |
---|
228 | </table> |
---|
229 | </dd></dl> |
---|
230 | |
---|
231 | <dl class="function"> |
---|
232 | <dt id="GSASIIpath.svnGetRev"> |
---|
233 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnGetRev</tt><big>(</big><em>fpath='/Users/toby/software/G2/GSASII'</em>, <em>local=True</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnGetRev"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnGetRev" title="Permalink to this definition">¶</a></dt> |
---|
234 | <dd><p>Obtain the version number for the either the last update of the local version |
---|
235 | or contacts the subversion server to get the latest update version (# of Head).</p> |
---|
236 | <table class="docutils field-list" frame="void" rules="none"> |
---|
237 | <col class="field-name" /> |
---|
238 | <col class="field-body" /> |
---|
239 | <tbody valign="top"> |
---|
240 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
241 | <li><strong>fpath</strong> (<em>str</em>) – path to repository dictionary, defaults to directory where |
---|
242 | the current file is located</li> |
---|
243 | <li><strong>local</strong> (<em>bool</em>) – determines the type of version number, where |
---|
244 | True (default): returns the latest installed update |
---|
245 | False: returns the version number of Head on the server</li> |
---|
246 | </ul> |
---|
247 | </td> |
---|
248 | </tr> |
---|
249 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">the version number as an str or |
---|
250 | None if there is a subversion error (likely because the path is |
---|
251 | not a repository or svn is not found)</p> |
---|
252 | </td> |
---|
253 | </tr> |
---|
254 | </tbody> |
---|
255 | </table> |
---|
256 | </dd></dl> |
---|
257 | |
---|
258 | <dl class="function"> |
---|
259 | <dt id="GSASIIpath.svnInstallDir"> |
---|
260 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnInstallDir</tt><big>(</big><em>URL</em>, <em>loadpath</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnInstallDir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnInstallDir" title="Permalink to this definition">¶</a></dt> |
---|
261 | <dd><p>Load a subversion tree into a specified directory</p> |
---|
262 | <table class="docutils field-list" frame="void" rules="none"> |
---|
263 | <col class="field-name" /> |
---|
264 | <col class="field-body" /> |
---|
265 | <tbody valign="top"> |
---|
266 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
267 | <li><strong>rpath</strong> (<em>str</em>) – path to locate files, relative to the GSAS-II |
---|
268 | installation path (defaults to path2GSAS2)</li> |
---|
269 | <li><strong>URL</strong> (<em>str</em>) – the repository URL</li> |
---|
270 | </ul> |
---|
271 | </td> |
---|
272 | </tr> |
---|
273 | </tbody> |
---|
274 | </table> |
---|
275 | </dd></dl> |
---|
276 | |
---|
277 | <dl class="function"> |
---|
278 | <dt id="GSASIIpath.svnSwitchDir"> |
---|
279 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnSwitchDir</tt><big>(</big><em>rpath</em>, <em>filename</em>, <em>baseURL</em>, <em>loadpath=None</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnSwitchDir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnSwitchDir" title="Permalink to this definition">¶</a></dt> |
---|
280 | <dd><p>This performs a switch command to move files between subversion trees.</p> |
---|
281 | <p>This is currently used for moving tutorial web pages and demo files |
---|
282 | into the GSAS-II source tree. Note that if the files were previously downloaded |
---|
283 | the switch command will update the files to the newest version.</p> |
---|
284 | <table class="docutils field-list" frame="void" rules="none"> |
---|
285 | <col class="field-name" /> |
---|
286 | <col class="field-body" /> |
---|
287 | <tbody valign="top"> |
---|
288 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
289 | <li><strong>rpath</strong> (<em>str</em>) – path to locate files, relative to the GSAS-II |
---|
290 | installation path (defaults to path2GSAS2)</li> |
---|
291 | <li><strong>URL</strong> (<em>str</em>) – the repository URL</li> |
---|
292 | <li><strong>loadpath</strong> (<em>str</em>) – the prefix for the path, if specified. Defaults to path2GSAS2</li> |
---|
293 | </ul> |
---|
294 | </td> |
---|
295 | </tr> |
---|
296 | </tbody> |
---|
297 | </table> |
---|
298 | </dd></dl> |
---|
299 | |
---|
300 | <dl class="function"> |
---|
301 | <dt id="GSASIIpath.svnUpdateDir"> |
---|
302 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnUpdateDir</tt><big>(</big><em>fpath='/Users/toby/software/G2/GSASII'</em>, <em>version=None</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnUpdateDir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnUpdateDir" title="Permalink to this definition">¶</a></dt> |
---|
303 | <dd><p>This performs an update of the files in a local directory from a server.</p> |
---|
304 | <table class="docutils field-list" frame="void" rules="none"> |
---|
305 | <col class="field-name" /> |
---|
306 | <col class="field-body" /> |
---|
307 | <tbody valign="top"> |
---|
308 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
309 | <li><strong>fpath</strong> (<em>str</em>) – path to repository dictionary, defaults to directory where |
---|
310 | the current file is located</li> |
---|
311 | <li><strong>version</strong> – the number of the version to be loaded. Used only |
---|
312 | cast as a string, but should be an integer or something that corresponds to a |
---|
313 | string representation of an integer value when cast. A value of None (default) |
---|
314 | causes the latest version on the server to be used.</li> |
---|
315 | </ul> |
---|
316 | </td> |
---|
317 | </tr> |
---|
318 | </tbody> |
---|
319 | </table> |
---|
320 | </dd></dl> |
---|
321 | |
---|
322 | <dl class="function"> |
---|
323 | <dt id="GSASIIpath.svnUpdateProcess"> |
---|
324 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnUpdateProcess</tt><big>(</big><em>version=None</em>, <em>projectfile=None</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnUpdateProcess"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnUpdateProcess" title="Permalink to this definition">¶</a></dt> |
---|
325 | <dd><p>perform an update of GSAS-II in a separate python process</p> |
---|
326 | </dd></dl> |
---|
327 | |
---|
328 | <dl class="function"> |
---|
329 | <dt id="GSASIIpath.svnUpgrade"> |
---|
330 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnUpgrade</tt><big>(</big><em>fpath='/Users/toby/software/G2/GSASII'</em><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnUpgrade"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnUpgrade" title="Permalink to this definition">¶</a></dt> |
---|
331 | <dd><p>This reformats subversion files, which may be needed if an upgrade of subversion is |
---|
332 | done.</p> |
---|
333 | <table class="docutils field-list" frame="void" rules="none"> |
---|
334 | <col class="field-name" /> |
---|
335 | <col class="field-body" /> |
---|
336 | <tbody valign="top"> |
---|
337 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>fpath</strong> (<em>str</em>) – path to repository dictionary, defaults to directory where |
---|
338 | the current file is located</td> |
---|
339 | </tr> |
---|
340 | </tbody> |
---|
341 | </table> |
---|
342 | </dd></dl> |
---|
343 | |
---|
344 | <dl class="function"> |
---|
345 | <dt id="GSASIIpath.svnVersion"> |
---|
346 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnVersion</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnVersion"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnVersion" title="Permalink to this definition">¶</a></dt> |
---|
347 | <dd><p>Get the version number of the current subversion executable</p> |
---|
348 | <table class="docutils field-list" frame="void" rules="none"> |
---|
349 | <col class="field-name" /> |
---|
350 | <col class="field-body" /> |
---|
351 | <tbody valign="top"> |
---|
352 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">a string with a version number such as “1.6.6” or None if |
---|
353 | subversion is not found.</td> |
---|
354 | </tr> |
---|
355 | </tbody> |
---|
356 | </table> |
---|
357 | </dd></dl> |
---|
358 | |
---|
359 | <dl class="function"> |
---|
360 | <dt id="GSASIIpath.svnVersionNumber"> |
---|
361 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">svnVersionNumber</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#svnVersionNumber"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.svnVersionNumber" title="Permalink to this definition">¶</a></dt> |
---|
362 | <dd><p>Get the version number of the current subversion executable</p> |
---|
363 | <table class="docutils field-list" frame="void" rules="none"> |
---|
364 | <col class="field-name" /> |
---|
365 | <col class="field-body" /> |
---|
366 | <tbody valign="top"> |
---|
367 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">a fractional version number such as 1.6 or None if |
---|
368 | subversion is not found.</td> |
---|
369 | </tr> |
---|
370 | </tbody> |
---|
371 | </table> |
---|
372 | </dd></dl> |
---|
373 | |
---|
374 | <dl class="function"> |
---|
375 | <dt id="GSASIIpath.whichsvn"> |
---|
376 | <tt class="descclassname">GSASIIpath.</tt><tt class="descname">whichsvn</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIpath.html#whichsvn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIpath.whichsvn" title="Permalink to this definition">¶</a></dt> |
---|
377 | <dd><p>Returns a path to the subversion exe file, if any is found. |
---|
378 | Searches the current path as well as subdirectory “svn” and |
---|
379 | “svn/bin” in the location of the GSASII source files.</p> |
---|
380 | <table class="docutils field-list" frame="void" rules="none"> |
---|
381 | <col class="field-name" /> |
---|
382 | <col class="field-body" /> |
---|
383 | <tbody valign="top"> |
---|
384 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">None if svn is not found or an absolute path to the subversion |
---|
385 | executable file.</td> |
---|
386 | </tr> |
---|
387 | </tbody> |
---|
388 | </table> |
---|
389 | </dd></dl> |
---|
390 | |
---|
391 | </div> |
---|
392 | <span class="target" id="module-GSASIIlog"></span><div class="section" id="gsasiilog-logging-of-actions"> |
---|
393 | <h2><em>GSASIIlog: Logging of “Actions”</em><a class="headerlink" href="#gsasiilog-logging-of-actions" title="Permalink to this headline">¶</a></h2> |
---|
394 | <p>Module to provide logging services, e.g. track and replay “actions” |
---|
395 | such as menu item, tree item, button press, value change and so on.</p> |
---|
396 | <dl class="data"> |
---|
397 | <dt id="GSASIIlog.ButtonBindingLookup"> |
---|
398 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">ButtonBindingLookup</tt><em class="property"> = {}</em><a class="headerlink" href="#GSASIIlog.ButtonBindingLookup" title="Permalink to this definition">¶</a></dt> |
---|
399 | <dd><p>Lookup table for button objects</p> |
---|
400 | </dd></dl> |
---|
401 | |
---|
402 | <dl class="class"> |
---|
403 | <dt id="GSASIIlog.ButtonLogEntry"> |
---|
404 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">ButtonLogEntry</tt><big>(</big><em>locationcode</em>, <em>label</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#ButtonLogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.ButtonLogEntry" title="Permalink to this definition">¶</a></dt> |
---|
405 | <dd><p>Object to track button press</p> |
---|
406 | </dd></dl> |
---|
407 | |
---|
408 | <dl class="data"> |
---|
409 | <dt id="GSASIIlog.G2logList"> |
---|
410 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">G2logList</tt><em class="property"> = [None]</em><a class="headerlink" href="#GSASIIlog.G2logList" title="Permalink to this definition">¶</a></dt> |
---|
411 | <dd><p>Contains a list of logged actions; first item is ignored</p> |
---|
412 | </dd></dl> |
---|
413 | |
---|
414 | <dl class="function"> |
---|
415 | <dt id="GSASIIlog.InvokeMenuCommand"> |
---|
416 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">InvokeMenuCommand</tt><big>(</big><em>id</em>, <em>G2frame</em>, <em>event</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#InvokeMenuCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.InvokeMenuCommand" title="Permalink to this definition">¶</a></dt> |
---|
417 | <dd><p>Called when a menu item is used to log the action as well as call the |
---|
418 | routine “bind”ed to that menu item</p> |
---|
419 | </dd></dl> |
---|
420 | |
---|
421 | <dl class="class"> |
---|
422 | <dt id="GSASIIlog.LogEntry"> |
---|
423 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">LogEntry</tt><a class="reference internal" href="_modules/GSASIIlog.html#LogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.LogEntry" title="Permalink to this definition">¶</a></dt> |
---|
424 | <dd><p>Base class to define logging objects. These store information on events |
---|
425 | in a manner that can be pickled and saved – direct references to wx objects |
---|
426 | is not allowed.</p> |
---|
427 | <p>Each object must define:</p> |
---|
428 | <blockquote> |
---|
429 | <div><ul class="simple"> |
---|
430 | <li>__init__: stores the information needed to log & later recreate the action</li> |
---|
431 | <li>__str__ : shows a nice ASCII string for each action</li> |
---|
432 | <li>Replay: recreates the action when the log is played</li> |
---|
433 | </ul> |
---|
434 | </div></blockquote> |
---|
435 | <p>optional:</p> |
---|
436 | <blockquote> |
---|
437 | <div><ul class="simple"> |
---|
438 | <li>Repaint: redisplays the current window</li> |
---|
439 | </ul> |
---|
440 | </div></blockquote> |
---|
441 | </dd></dl> |
---|
442 | |
---|
443 | <dl class="data"> |
---|
444 | <dt id="GSASIIlog.LogInfo"> |
---|
445 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">LogInfo</tt><em class="property"> = {'Tree': None, 'Logging': False, 'LastPaintAction': None}</em><a class="headerlink" href="#GSASIIlog.LogInfo" title="Permalink to this definition">¶</a></dt> |
---|
446 | <dd><p>Contains values that are needed in the module for past actions & object location</p> |
---|
447 | </dd></dl> |
---|
448 | |
---|
449 | <dl class="function"> |
---|
450 | <dt id="GSASIIlog.LogOff"> |
---|
451 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">LogOff</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#LogOff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.LogOff" title="Permalink to this definition">¶</a></dt> |
---|
452 | <dd><p>Turn Off logging of actions</p> |
---|
453 | </dd></dl> |
---|
454 | |
---|
455 | <dl class="function"> |
---|
456 | <dt id="GSASIIlog.LogOn"> |
---|
457 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">LogOn</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#LogOn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.LogOn" title="Permalink to this definition">¶</a></dt> |
---|
458 | <dd><p>Turn On logging of actions</p> |
---|
459 | </dd></dl> |
---|
460 | |
---|
461 | <dl class="function"> |
---|
462 | <dt id="GSASIIlog.LogVarChange"> |
---|
463 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">LogVarChange</tt><big>(</big><em>result</em>, <em>key</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#LogVarChange"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.LogVarChange" title="Permalink to this definition">¶</a></dt> |
---|
464 | <dd><p>Called when a variable is changed to log that action</p> |
---|
465 | </dd></dl> |
---|
466 | |
---|
467 | <dl class="function"> |
---|
468 | <dt id="GSASIIlog.MakeButtonLog"> |
---|
469 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">MakeButtonLog</tt><big>(</big><em>locationcode</em>, <em>label</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#MakeButtonLog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.MakeButtonLog" title="Permalink to this definition">¶</a></dt> |
---|
470 | <dd><p>Create a ButtonLogEntry action log</p> |
---|
471 | </dd></dl> |
---|
472 | |
---|
473 | <dl class="function"> |
---|
474 | <dt id="GSASIIlog.MakeTabLog"> |
---|
475 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">MakeTabLog</tt><big>(</big><em>title</em>, <em>tabname</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#MakeTabLog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.MakeTabLog" title="Permalink to this definition">¶</a></dt> |
---|
476 | <dd><p>Create a TabLogEntry action log</p> |
---|
477 | </dd></dl> |
---|
478 | |
---|
479 | <dl class="function"> |
---|
480 | <dt id="GSASIIlog.MakeTreeLog"> |
---|
481 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">MakeTreeLog</tt><big>(</big><em>textlist</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#MakeTreeLog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.MakeTreeLog" title="Permalink to this definition">¶</a></dt> |
---|
482 | <dd><p>Create a TreeLogEntry action log</p> |
---|
483 | </dd></dl> |
---|
484 | |
---|
485 | <dl class="data"> |
---|
486 | <dt id="GSASIIlog.MenuBindingLookup"> |
---|
487 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">MenuBindingLookup</tt><em class="property"> = {}</em><a class="headerlink" href="#GSASIIlog.MenuBindingLookup" title="Permalink to this definition">¶</a></dt> |
---|
488 | <dd><p>Lookup table for Menu buttons</p> |
---|
489 | </dd></dl> |
---|
490 | |
---|
491 | <dl class="class"> |
---|
492 | <dt id="GSASIIlog.MenuLogEntry"> |
---|
493 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">MenuLogEntry</tt><big>(</big><em>menulabellist</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#MenuLogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.MenuLogEntry" title="Permalink to this definition">¶</a></dt> |
---|
494 | <dd><p>object that tracks when a menu command is executed</p> |
---|
495 | <dl class="method"> |
---|
496 | <dt id="GSASIIlog.MenuLogEntry.Replay"> |
---|
497 | <tt class="descname">Replay</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#MenuLogEntry.Replay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.MenuLogEntry.Replay" title="Permalink to this definition">¶</a></dt> |
---|
498 | <dd><p>Perform a Menu item action when read from the log</p> |
---|
499 | </dd></dl> |
---|
500 | |
---|
501 | </dd></dl> |
---|
502 | |
---|
503 | <dl class="function"> |
---|
504 | <dt id="GSASIIlog.OnReplayPress"> |
---|
505 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">OnReplayPress</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#OnReplayPress"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.OnReplayPress" title="Permalink to this definition">¶</a></dt> |
---|
506 | <dd><p>execute one or more commands when the replay button is pressed</p> |
---|
507 | </dd></dl> |
---|
508 | |
---|
509 | <dl class="function"> |
---|
510 | <dt id="GSASIIlog.ReplayLog"> |
---|
511 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">ReplayLog</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#ReplayLog"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.ReplayLog" title="Permalink to this definition">¶</a></dt> |
---|
512 | <dd><p>replay the logged actions</p> |
---|
513 | </dd></dl> |
---|
514 | |
---|
515 | <dl class="function"> |
---|
516 | <dt id="GSASIIlog.SaveMenuCommand"> |
---|
517 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">SaveMenuCommand</tt><big>(</big><em>id</em>, <em>G2frame</em>, <em>handler</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#SaveMenuCommand"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.SaveMenuCommand" title="Permalink to this definition">¶</a></dt> |
---|
518 | <dd><p>Creates a table of menu items and their pseudo-bindings</p> |
---|
519 | </dd></dl> |
---|
520 | |
---|
521 | <dl class="function"> |
---|
522 | <dt id="GSASIIlog.ShowLogStatus"> |
---|
523 | <tt class="descclassname">GSASIIlog.</tt><tt class="descname">ShowLogStatus</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#ShowLogStatus"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.ShowLogStatus" title="Permalink to this definition">¶</a></dt> |
---|
524 | <dd><p>Return the logging status</p> |
---|
525 | </dd></dl> |
---|
526 | |
---|
527 | <dl class="class"> |
---|
528 | <dt id="GSASIIlog.TabLogEntry"> |
---|
529 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">TabLogEntry</tt><big>(</big><em>title</em>, <em>tabname</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TabLogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TabLogEntry" title="Permalink to this definition">¶</a></dt> |
---|
530 | <dd><p>Object to track when tabs are pressed in the DataFrame window</p> |
---|
531 | <dl class="method"> |
---|
532 | <dt id="GSASIIlog.TabLogEntry.Repaint"> |
---|
533 | <tt class="descname">Repaint</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TabLogEntry.Repaint"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TabLogEntry.Repaint" title="Permalink to this definition">¶</a></dt> |
---|
534 | <dd><p>Used to redraw a window created in response to a Tab press</p> |
---|
535 | </dd></dl> |
---|
536 | |
---|
537 | <dl class="method"> |
---|
538 | <dt id="GSASIIlog.TabLogEntry.Replay"> |
---|
539 | <tt class="descname">Replay</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TabLogEntry.Replay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TabLogEntry.Replay" title="Permalink to this definition">¶</a></dt> |
---|
540 | <dd><p>Perform a Tab press action when read from the log</p> |
---|
541 | </dd></dl> |
---|
542 | |
---|
543 | </dd></dl> |
---|
544 | |
---|
545 | <dl class="class"> |
---|
546 | <dt id="GSASIIlog.TreeLogEntry"> |
---|
547 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">TreeLogEntry</tt><big>(</big><em>itemlist</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TreeLogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TreeLogEntry" title="Permalink to this definition">¶</a></dt> |
---|
548 | <dd><p>Object to track when tree items are pressed in the main window</p> |
---|
549 | <dl class="method"> |
---|
550 | <dt id="GSASIIlog.TreeLogEntry.Repaint"> |
---|
551 | <tt class="descname">Repaint</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TreeLogEntry.Repaint"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TreeLogEntry.Repaint" title="Permalink to this definition">¶</a></dt> |
---|
552 | <dd><p>Used to redraw a window created in response to a click on a data tree item</p> |
---|
553 | </dd></dl> |
---|
554 | |
---|
555 | <dl class="method"> |
---|
556 | <dt id="GSASIIlog.TreeLogEntry.Replay"> |
---|
557 | <tt class="descname">Replay</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#TreeLogEntry.Replay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.TreeLogEntry.Replay" title="Permalink to this definition">¶</a></dt> |
---|
558 | <dd><p>Perform a Tree press action when read from the log</p> |
---|
559 | </dd></dl> |
---|
560 | |
---|
561 | </dd></dl> |
---|
562 | |
---|
563 | <dl class="class"> |
---|
564 | <dt id="GSASIIlog.VarLogEntry"> |
---|
565 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">VarLogEntry</tt><big>(</big><em>treeRefs</em>, <em>indexRefs</em>, <em>value</em><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#VarLogEntry"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.VarLogEntry" title="Permalink to this definition">¶</a></dt> |
---|
566 | <dd><p>object that tracks changes to a variable</p> |
---|
567 | <dl class="method"> |
---|
568 | <dt id="GSASIIlog.VarLogEntry.Replay"> |
---|
569 | <tt class="descname">Replay</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#VarLogEntry.Replay"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.VarLogEntry.Replay" title="Permalink to this definition">¶</a></dt> |
---|
570 | <dd><p>Perform a Variable Change action, when read from the log</p> |
---|
571 | </dd></dl> |
---|
572 | |
---|
573 | </dd></dl> |
---|
574 | |
---|
575 | <dl class="class"> |
---|
576 | <dt id="GSASIIlog.dictLogged"> |
---|
577 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">dictLogged</tt><big>(</big><em>obj</em>, <em>treeRefs</em>, <em>indexRefs=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#dictLogged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.dictLogged" title="Permalink to this definition">¶</a></dt> |
---|
578 | <dd><p>A version of a dict object that tracks the source of the |
---|
579 | object back to the location on the G2 tree. |
---|
580 | If a list (tuple) or dict are pulled from inside this object |
---|
581 | the source information is appended to the provinance tracking |
---|
582 | lists.</p> |
---|
583 | <p>tuples are converted to lists.</p> |
---|
584 | </dd></dl> |
---|
585 | |
---|
586 | <dl class="class"> |
---|
587 | <dt id="GSASIIlog.listLogged"> |
---|
588 | <em class="property">class </em><tt class="descclassname">GSASIIlog.</tt><tt class="descname">listLogged</tt><big>(</big><em>obj</em>, <em>treeRefs</em>, <em>indexRefs=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="reference internal" href="_modules/GSASIIlog.html#listLogged"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlog.listLogged" title="Permalink to this definition">¶</a></dt> |
---|
589 | <dd><p>A version of a list object that tracks the source of the |
---|
590 | object back to the location on the G2 tree. |
---|
591 | If a list (tuple) or dict are pulled from inside this object |
---|
592 | the source information is appended to the provinance tracking |
---|
593 | lists.</p> |
---|
594 | <p>tuples are converted to lists.</p> |
---|
595 | </dd></dl> |
---|
596 | |
---|
597 | </div> |
---|
598 | <span class="target" id="module-config_example"></span><div class="section" id="config-example-py-configuration-options"> |
---|
599 | <h2><em>config_example.py: Configuration options</em><a class="headerlink" href="#config-example-py-configuration-options" title="Permalink to this headline">¶</a></h2> |
---|
600 | <p>This file contains optional configuration options for GSAS-II. The variables |
---|
601 | in this file can be copied to file config.py, which is imported if present. |
---|
602 | Access these variables using <a class="reference internal" href="#GSASIIpath.GetConfigValue" title="GSASIIpath.GetConfigValue"><tt class="xref py py-func docutils literal"><span class="pre">GSASIIpath.GetConfigValue()</span></tt></a>, which returns |
---|
603 | None if the variable is not set. Note that a config.py file need not |
---|
604 | be present, but if in use it will typically be found with the GSAS-II source |
---|
605 | directory (GSASIIpath.Path2GSAS2) or a directory for local GSAS-II |
---|
606 | modifications (~/.G2local/ or /Documents and Settings/<User>/.G2local/).</p> |
---|
607 | <p>When defining new config variables for GSAS-II, define them here with a |
---|
608 | default value: use None or a string for strings, or use integers or real |
---|
609 | values. Include a doc string after each variable is defined to explain |
---|
610 | what it does. Use names ending in _location or _directory for items |
---|
611 | that will contain directory names.</p> |
---|
612 | <p>For example:</p> |
---|
613 | <div class="highlight-python"><div class="highlight"><pre>test_int = 0 |
---|
614 | test_float = 0.0 |
---|
615 | test_string = None (or) |
---|
616 | test_string = 'value' |
---|
617 | </pre></div> |
---|
618 | </div> |
---|
619 | <dl class="data"> |
---|
620 | <dt id="config_example.Enable_logging"> |
---|
621 | <tt class="descclassname">config_example.</tt><tt class="descname">Enable_logging</tt><em class="property"> = False</em><a class="headerlink" href="#config_example.Enable_logging" title="Permalink to this definition">¶</a></dt> |
---|
622 | <dd><p>Set to True to enable use of command logging (under development.)</p> |
---|
623 | </dd></dl> |
---|
624 | |
---|
625 | <dl class="data"> |
---|
626 | <dt id="config_example.Help_mode"> |
---|
627 | <tt class="descclassname">config_example.</tt><tt class="descname">Help_mode</tt><em class="property"> = 'browser'</em><a class="headerlink" href="#config_example.Help_mode" title="Permalink to this definition">¶</a></dt> |
---|
628 | <dd><p>Set to “internal” to use a Python-based web viewer to display |
---|
629 | help documentation and tutorials. If set to the default (“browser”) |
---|
630 | the default web browser is used.</p> |
---|
631 | </dd></dl> |
---|
632 | |
---|
633 | <dl class="data"> |
---|
634 | <dt id="config_example.Import_directory"> |
---|
635 | <tt class="descclassname">config_example.</tt><tt class="descname">Import_directory</tt><em class="property"> = None</em><a class="headerlink" href="#config_example.Import_directory" title="Permalink to this definition">¶</a></dt> |
---|
636 | <dd><p>Specifies a default location for finding exercise files used for |
---|
637 | Tutorials.</p> |
---|
638 | </dd></dl> |
---|
639 | |
---|
640 | <dl class="data"> |
---|
641 | <dt id="config_example.Starting_directory"> |
---|
642 | <tt class="descclassname">config_example.</tt><tt class="descname">Starting_directory</tt><em class="property"> = None</em><a class="headerlink" href="#config_example.Starting_directory" title="Permalink to this definition">¶</a></dt> |
---|
643 | <dd><p>Specifies a default location for starting GSAS-II</p> |
---|
644 | </dd></dl> |
---|
645 | |
---|
646 | <dl class="data"> |
---|
647 | <dt id="config_example.Tutorial_location"> |
---|
648 | <tt class="descclassname">config_example.</tt><tt class="descname">Tutorial_location</tt><em class="property"> = None</em><a class="headerlink" href="#config_example.Tutorial_location" title="Permalink to this definition">¶</a></dt> |
---|
649 | <dd><p>Change this to place tutorials by in a different spot. If None, this defaults to |
---|
650 | <user>/My Documents/G2tutorials (on windows) or <user>/G2tutorials. If you want to |
---|
651 | use a different location, this can be set here. To install into the location where |
---|
652 | GSAS-II is installed, use this:</p> |
---|
653 | <div class="highlight-python"><div class="highlight"><pre><span class="n">Tutorial_location</span> <span class="o">=</span> <span class="n">GSASIIpath</span><span class="o">.</span><span class="n">path2GSAS2</span> |
---|
654 | </pre></div> |
---|
655 | </div> |
---|
656 | <p>As another example, to use ~/.G2tutorials do this:</p> |
---|
657 | <div class="highlight-python"><div class="highlight"><pre><span class="n">Tutorial_location</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">expanduser</span><span class="p">(</span><span class="s">'~/.G2tutorials'</span><span class="p">)</span> |
---|
658 | </pre></div> |
---|
659 | </div> |
---|
660 | <p>Note that os.path and GSASIIpath are imported inside config.py; other imports will |
---|
661 | require manual editing of the file.</p> |
---|
662 | </dd></dl> |
---|
663 | |
---|
664 | <dl class="data"> |
---|
665 | <dt id="config_example.debug"> |
---|
666 | <tt class="descclassname">config_example.</tt><tt class="descname">debug</tt><em class="property"> = False</em><a class="headerlink" href="#config_example.debug" title="Permalink to this definition">¶</a></dt> |
---|
667 | <dd><p>Set to True to turn on debugging mode.This enables use of IPython on |
---|
668 | exceptions and on calls to <a class="reference internal" href="#GSASIIpath.IPyBreak" title="GSASIIpath.IPyBreak"><tt class="xref py py-func docutils literal"><span class="pre">GSASIIpath.IPyBreak()</span></tt></a>. Calls to |
---|
669 | <a class="reference internal" href="#GSASIIpath.pdbBreak" title="GSASIIpath.pdbBreak"><tt class="xref py py-func docutils literal"><span class="pre">GSASIIpath.pdbBreak()</span></tt></a> will invoke pdb at that location.</p> |
---|
670 | <p>If debug is False, calls to <a class="reference internal" href="#GSASIIpath.IPyBreak" title="GSASIIpath.IPyBreak"><tt class="xref py py-func docutils literal"><span class="pre">GSASIIpath.IPyBreak()</span></tt></a> and |
---|
671 | <a class="reference internal" href="#GSASIIpath.pdbBreak" title="GSASIIpath.pdbBreak"><tt class="xref py py-func docutils literal"><span class="pre">GSASIIpath.pdbBreak()</span></tt></a> are ignored.</p> |
---|
672 | </dd></dl> |
---|
673 | |
---|
674 | <dl class="data"> |
---|
675 | <dt id="config_example.logging_debug"> |
---|
676 | <tt class="descclassname">config_example.</tt><tt class="descname">logging_debug</tt><em class="property"> = False</em><a class="headerlink" href="#config_example.logging_debug" title="Permalink to this definition">¶</a></dt> |
---|
677 | <dd><p>Set to True to enable debug for logging (under development.)</p> |
---|
678 | </dd></dl> |
---|
679 | |
---|
680 | <dl class="data"> |
---|
681 | <dt id="config_example.wxInspector"> |
---|
682 | <tt class="descclassname">config_example.</tt><tt class="descname">wxInspector</tt><em class="property"> = False</em><a class="headerlink" href="#config_example.wxInspector" title="Permalink to this definition">¶</a></dt> |
---|
683 | <dd><p>If set to True, the wxInspector widget is displayed when |
---|
684 | GSAS-II is started.</p> |
---|
685 | </dd></dl> |
---|
686 | |
---|
687 | </div> |
---|
688 | <span class="target" id="module-GSASIIElem"></span><div class="section" id="gsasiielem-functions-for-element-types"> |
---|
689 | <h2><em>GSASIIElem: functions for element types</em><a class="headerlink" href="#gsasiielem-functions-for-element-types" title="Permalink to this headline">¶</a></h2> |
---|
690 | <dl class="function"> |
---|
691 | <dt id="GSASIIElem.CheckElement"> |
---|
692 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">CheckElement</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#CheckElement"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.CheckElement" title="Permalink to this definition">¶</a></dt> |
---|
693 | <dd><p>Check if element El is in the periodic table</p> |
---|
694 | <table class="docutils field-list" frame="void" rules="none"> |
---|
695 | <col class="field-name" /> |
---|
696 | <col class="field-body" /> |
---|
697 | <tbody valign="top"> |
---|
698 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>El</strong> (<em>str</em>) – One or two letter element symbol, capitaliztion ignored</td> |
---|
699 | </tr> |
---|
700 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True if the element is found</td> |
---|
701 | </tr> |
---|
702 | </tbody> |
---|
703 | </table> |
---|
704 | </dd></dl> |
---|
705 | |
---|
706 | <dl class="function"> |
---|
707 | <dt id="GSASIIElem.ComptonFac"> |
---|
708 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">ComptonFac</tt><big>(</big><em>El</em>, <em>SQ</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#ComptonFac"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.ComptonFac" title="Permalink to this definition">¶</a></dt> |
---|
709 | <dd><p>compute Compton scattering factor</p> |
---|
710 | <table class="docutils field-list" frame="void" rules="none"> |
---|
711 | <col class="field-name" /> |
---|
712 | <col class="field-body" /> |
---|
713 | <tbody valign="top"> |
---|
714 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
715 | <li><strong>El</strong> – element dictionary</li> |
---|
716 | <li><strong>SQ</strong> – (sin-theta/lambda)**2</li> |
---|
717 | </ul> |
---|
718 | </td> |
---|
719 | </tr> |
---|
720 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">compton scattering factor</p> |
---|
721 | </td> |
---|
722 | </tr> |
---|
723 | </tbody> |
---|
724 | </table> |
---|
725 | </dd></dl> |
---|
726 | |
---|
727 | <dl class="function"> |
---|
728 | <dt id="GSASIIElem.FPcalc"> |
---|
729 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">FPcalc</tt><big>(</big><em>Orbs</em>, <em>KEv</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#FPcalc"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.FPcalc" title="Permalink to this definition">¶</a></dt> |
---|
730 | <dd><p>Compute real & imaginary resonant X-ray scattering factors</p> |
---|
731 | <table class="docutils field-list" frame="void" rules="none"> |
---|
732 | <col class="field-name" /> |
---|
733 | <col class="field-body" /> |
---|
734 | <tbody valign="top"> |
---|
735 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
736 | <li><strong>Orbs</strong> – list of orbital dictionaries as defined in GetXsectionCoeff</li> |
---|
737 | <li><strong>KEv</strong> – x-ray energy in keV</li> |
---|
738 | </ul> |
---|
739 | </td> |
---|
740 | </tr> |
---|
741 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">C: (f’,f”,mu): real, imaginary parts of resonant scattering & atomic absorption coeff.</p> |
---|
742 | </td> |
---|
743 | </tr> |
---|
744 | </tbody> |
---|
745 | </table> |
---|
746 | </dd></dl> |
---|
747 | |
---|
748 | <dl class="function"> |
---|
749 | <dt id="GSASIIElem.FixValence"> |
---|
750 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">FixValence</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#FixValence"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.FixValence" title="Permalink to this definition">¶</a></dt> |
---|
751 | <dd><p>Returns the element symbol, even when a valence is present</p> |
---|
752 | </dd></dl> |
---|
753 | |
---|
754 | <dl class="function"> |
---|
755 | <dt id="GSASIIElem.GetAtomInfo"> |
---|
756 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetAtomInfo</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetAtomInfo"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetAtomInfo" title="Permalink to this definition">¶</a></dt> |
---|
757 | <dd><p>reads element information from atmdata.py</p> |
---|
758 | </dd></dl> |
---|
759 | |
---|
760 | <dl class="function"> |
---|
761 | <dt id="GSASIIElem.GetBLtable"> |
---|
762 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetBLtable</tt><big>(</big><em>General</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetBLtable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetBLtable" title="Permalink to this definition">¶</a></dt> |
---|
763 | <dd><p>returns a dictionary of neutron scattering length data for atom types & isotopes found in General</p> |
---|
764 | <table class="docutils field-list" frame="void" rules="none"> |
---|
765 | <col class="field-name" /> |
---|
766 | <col class="field-body" /> |
---|
767 | <tbody valign="top"> |
---|
768 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>General</strong> (<em>dict</em>) – dictionary of phase info.; includes AtomTypes & Isotopes</td> |
---|
769 | </tr> |
---|
770 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">BLtable, dictionary of scattering length data; key is atom type</td> |
---|
771 | </tr> |
---|
772 | </tbody> |
---|
773 | </table> |
---|
774 | </dd></dl> |
---|
775 | |
---|
776 | <dl class="function"> |
---|
777 | <dt id="GSASIIElem.GetFFC5"> |
---|
778 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetFFC5</tt><big>(</big><em>ElSym</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetFFC5"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetFFC5" title="Permalink to this definition">¶</a></dt> |
---|
779 | <dd><p>Get 5 term form factor and Compton scattering data</p> |
---|
780 | <table class="docutils field-list" frame="void" rules="none"> |
---|
781 | <col class="field-name" /> |
---|
782 | <col class="field-body" /> |
---|
783 | <tbody valign="top"> |
---|
784 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ElSym</strong> – str(1-2 character element symbol with proper case);</td> |
---|
785 | </tr> |
---|
786 | <tr class="field-even field"><th class="field-name">Return El:</th><td class="field-body">dictionary with 5 term form factor & compton coefficients</td> |
---|
787 | </tr> |
---|
788 | </tbody> |
---|
789 | </table> |
---|
790 | </dd></dl> |
---|
791 | |
---|
792 | <dl class="function"> |
---|
793 | <dt id="GSASIIElem.GetFFtable"> |
---|
794 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetFFtable</tt><big>(</big><em>atomTypes</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetFFtable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetFFtable" title="Permalink to this definition">¶</a></dt> |
---|
795 | <dd><p>returns a dictionary of form factor data for atom types found in atomTypes</p> |
---|
796 | <table class="docutils field-list" frame="void" rules="none"> |
---|
797 | <col class="field-name" /> |
---|
798 | <col class="field-body" /> |
---|
799 | <tbody valign="top"> |
---|
800 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>atomTypes</strong> (<em>list</em>) – list of atom types</td> |
---|
801 | </tr> |
---|
802 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">FFtable, dictionary of form factor data; key is atom type</td> |
---|
803 | </tr> |
---|
804 | </tbody> |
---|
805 | </table> |
---|
806 | </dd></dl> |
---|
807 | |
---|
808 | <dl class="function"> |
---|
809 | <dt id="GSASIIElem.GetFormFactorCoeff"> |
---|
810 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetFormFactorCoeff</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetFormFactorCoeff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetFormFactorCoeff" title="Permalink to this definition">¶</a></dt> |
---|
811 | <dd><p>Read X-ray form factor coefficients from <cite>atomdata.py</cite> file</p> |
---|
812 | <table class="docutils field-list" frame="void" rules="none"> |
---|
813 | <col class="field-name" /> |
---|
814 | <col class="field-body" /> |
---|
815 | <tbody valign="top"> |
---|
816 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>El</strong> (<em>str</em>) – element 1-2 character symbol, case irrevelant</td> |
---|
817 | </tr> |
---|
818 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><cite>FormFactors</cite>: list of form factor dictionaries</td> |
---|
819 | </tr> |
---|
820 | </tbody> |
---|
821 | </table> |
---|
822 | <p>Each X-ray form factor dictionary is:</p> |
---|
823 | <ul class="simple"> |
---|
824 | <li><cite>Symbol</cite>: 4 character element symbol with valence (e.g. ‘NI+2’)</li> |
---|
825 | <li><cite>Z</cite>: atomic number</li> |
---|
826 | <li><cite>fa</cite>: 4 A coefficients</li> |
---|
827 | <li><cite>fb</cite>: 4 B coefficients</li> |
---|
828 | <li><cite>fc</cite>: C coefficient</li> |
---|
829 | </ul> |
---|
830 | </dd></dl> |
---|
831 | |
---|
832 | <dl class="function"> |
---|
833 | <dt id="GSASIIElem.GetMagFormFacCoeff"> |
---|
834 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetMagFormFacCoeff</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetMagFormFacCoeff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetMagFormFacCoeff" title="Permalink to this definition">¶</a></dt> |
---|
835 | <dd><p>Read magnetic form factor data from atomdata.asc file</p> |
---|
836 | <table class="docutils field-list" frame="void" rules="none"> |
---|
837 | <col class="field-name" /> |
---|
838 | <col class="field-body" /> |
---|
839 | <tbody valign="top"> |
---|
840 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>El</strong> – 2 character element symbol</td> |
---|
841 | </tr> |
---|
842 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">MagFormFactors: list of all magnetic form factors dictionaries for element El.</td> |
---|
843 | </tr> |
---|
844 | </tbody> |
---|
845 | </table> |
---|
846 | <p>each dictionary contains:</p> |
---|
847 | <ul class="simple"> |
---|
848 | <li>‘Symbol’:Symbol</li> |
---|
849 | <li>‘Z’:Z</li> |
---|
850 | <li>‘mfa’: 4 MA coefficients</li> |
---|
851 | <li>‘nfa’: 4 NA coefficients</li> |
---|
852 | <li>‘mfb’: 4 MB coefficients</li> |
---|
853 | <li>‘nfb’: 4 NB coefficients</li> |
---|
854 | <li>‘mfc’: MC coefficient</li> |
---|
855 | <li>‘nfc’: NC coefficient</li> |
---|
856 | </ul> |
---|
857 | </dd></dl> |
---|
858 | |
---|
859 | <dl class="function"> |
---|
860 | <dt id="GSASIIElem.GetXsectionCoeff"> |
---|
861 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">GetXsectionCoeff</tt><big>(</big><em>El</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#GetXsectionCoeff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.GetXsectionCoeff" title="Permalink to this definition">¶</a></dt> |
---|
862 | <dd><p>Read atom orbital scattering cross sections for fprime calculations via Cromer-Lieberman algorithm</p> |
---|
863 | <table class="docutils field-list" frame="void" rules="none"> |
---|
864 | <col class="field-name" /> |
---|
865 | <col class="field-body" /> |
---|
866 | <tbody valign="top"> |
---|
867 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>El</strong> – 2 character element symbol</td> |
---|
868 | </tr> |
---|
869 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Orbs: list of orbitals each a dictionary with detailed orbital information used by FPcalc</td> |
---|
870 | </tr> |
---|
871 | </tbody> |
---|
872 | </table> |
---|
873 | <p>each dictionary is:</p> |
---|
874 | <ul class="simple"> |
---|
875 | <li>‘OrbName’: Orbital name read from file</li> |
---|
876 | <li>‘IfBe’ 0/2 depending on orbital</li> |
---|
877 | <li>‘BindEn’: binding energy</li> |
---|
878 | <li>‘BB’: BindEn/0.02721</li> |
---|
879 | <li>‘XSectIP’: 5 cross section inflection points</li> |
---|
880 | <li>‘ElEterm’: energy correction term</li> |
---|
881 | <li>‘SEdge’: absorption edge for orbital</li> |
---|
882 | <li>‘Nval’: 10/11 depending on IfBe</li> |
---|
883 | <li>‘LEner’: 10/11 values of log(energy)</li> |
---|
884 | <li>‘LXSect’: 10/11 values of log(cross section)</li> |
---|
885 | </ul> |
---|
886 | </dd></dl> |
---|
887 | |
---|
888 | <dl class="function"> |
---|
889 | <dt id="GSASIIElem.ScatFac"> |
---|
890 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">ScatFac</tt><big>(</big><em>El</em>, <em>SQ</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#ScatFac"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.ScatFac" title="Permalink to this definition">¶</a></dt> |
---|
891 | <dd><p>compute value of form factor</p> |
---|
892 | <table class="docutils field-list" frame="void" rules="none"> |
---|
893 | <col class="field-name" /> |
---|
894 | <col class="field-body" /> |
---|
895 | <tbody valign="top"> |
---|
896 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
897 | <li><strong>El</strong> – element dictionary defined in GetFormFactorCoeff</li> |
---|
898 | <li><strong>SQ</strong> – (sin-theta/lambda)**2</li> |
---|
899 | </ul> |
---|
900 | </td> |
---|
901 | </tr> |
---|
902 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">real part of form factor</p> |
---|
903 | </td> |
---|
904 | </tr> |
---|
905 | </tbody> |
---|
906 | </table> |
---|
907 | </dd></dl> |
---|
908 | |
---|
909 | <dl class="function"> |
---|
910 | <dt id="GSASIIElem.getBLvalues"> |
---|
911 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">getBLvalues</tt><big>(</big><em>BLtables</em>, <em>ifList=False</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#getBLvalues"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.getBLvalues" title="Permalink to this definition">¶</a></dt> |
---|
912 | <dd><p>Needs a doc string</p> |
---|
913 | </dd></dl> |
---|
914 | |
---|
915 | <dl class="function"> |
---|
916 | <dt id="GSASIIElem.getFFvalues"> |
---|
917 | <tt class="descclassname">GSASIIElem.</tt><tt class="descname">getFFvalues</tt><big>(</big><em>FFtables</em>, <em>SQ</em>, <em>ifList=False</em><big>)</big><a class="reference internal" href="_modules/GSASIIElem.html#getFFvalues"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIElem.getFFvalues" title="Permalink to this definition">¶</a></dt> |
---|
918 | <dd><p>Needs a doc string</p> |
---|
919 | </dd></dl> |
---|
920 | |
---|
921 | </div> |
---|
922 | <span class="target" id="module-GSASIIlattice"></span><div class="section" id="gsasiilattice-unit-cells"> |
---|
923 | <h2><em>GSASIIlattice: Unit cells</em><a class="headerlink" href="#gsasiilattice-unit-cells" title="Permalink to this headline">¶</a></h2> |
---|
924 | <p>Perform lattice-related computations</p> |
---|
925 | <p>Note that <em>g</em> is the reciprocal lattice tensor, and <em>G</em> is its inverse, |
---|
926 | <span class="math">\(G = g^{-1}\)</span>, where</p> |
---|
927 | <blockquote> |
---|
928 | <div><div class="math"> |
---|
929 | \[\begin{split}G = \left( \begin{matrix} |
---|
930 | a^2 & a b\cos\gamma & a c\cos\beta \\ |
---|
931 | a b\cos\gamma & b^2 & b c \cos\alpha \\ |
---|
932 | a c\cos\beta & b c \cos\alpha & c^2 |
---|
933 | \end{matrix}\right)\end{split}\]</div> |
---|
934 | </div></blockquote> |
---|
935 | <p>The “<em>A</em> tensor” terms are defined as |
---|
936 | <span class="math">\(A = (\begin{matrix} G_{11} & G_{22} & G_{33} & 2G_{12} & 2G_{13} & 2G_{23}\end{matrix})\)</span> and <em>A</em> can be used in this fashion: |
---|
937 | <span class="math">\(d^* = \sqrt {A_1 h^2 + A_2 k^2 + A_3 l^2 + A_4 hk + A_5 hl + A_6 kl}\)</span>, where |
---|
938 | <em>d</em> is the d-spacing, and <span class="math">\(d^*\)</span> is the reciprocal lattice spacing, |
---|
939 | <span class="math">\(Q = 2 \pi d^* = 2 \pi / d\)</span></p> |
---|
940 | <dl class="function"> |
---|
941 | <dt id="GSASIIlattice.A2Gmat"> |
---|
942 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">A2Gmat</tt><big>(</big><em>A</em>, <em>inverse=True</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#A2Gmat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.A2Gmat" title="Permalink to this definition">¶</a></dt> |
---|
943 | <dd><p>Fill real & reciprocal metric tensor (G) from A.</p> |
---|
944 | <table class="docutils field-list" frame="void" rules="none"> |
---|
945 | <col class="field-name" /> |
---|
946 | <col class="field-body" /> |
---|
947 | <tbody valign="top"> |
---|
948 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
949 | <li><strong>A</strong> – reciprocal metric tensor elements as [G11,G22,G33,2*G12,2*G13,2*G23]</li> |
---|
950 | <li><strong>inverse</strong> (<em>bool</em>) – if True return both G and g; else just G</li> |
---|
951 | </ul> |
---|
952 | </td> |
---|
953 | </tr> |
---|
954 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">reciprocal (G) & real (g) metric tensors (list of two numpy 3x3 arrays)</p> |
---|
955 | </td> |
---|
956 | </tr> |
---|
957 | </tbody> |
---|
958 | </table> |
---|
959 | </dd></dl> |
---|
960 | |
---|
961 | <dl class="function"> |
---|
962 | <dt id="GSASIIlattice.A2cell"> |
---|
963 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">A2cell</tt><big>(</big><em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#A2cell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.A2cell" title="Permalink to this definition">¶</a></dt> |
---|
964 | <dd><p>Compute unit cell constants from A</p> |
---|
965 | <table class="docutils field-list" frame="void" rules="none"> |
---|
966 | <col class="field-name" /> |
---|
967 | <col class="field-body" /> |
---|
968 | <tbody valign="top"> |
---|
969 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> – [G11,G22,G33,2*G12,2*G13,2*G23] G - reciprocal metric tensor</td> |
---|
970 | </tr> |
---|
971 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a,b,c,alpha, beta, gamma (degrees) - lattice parameters</td> |
---|
972 | </tr> |
---|
973 | </tbody> |
---|
974 | </table> |
---|
975 | </dd></dl> |
---|
976 | |
---|
977 | <dl class="function"> |
---|
978 | <dt id="GSASIIlattice.A2invcell"> |
---|
979 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">A2invcell</tt><big>(</big><em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#A2invcell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.A2invcell" title="Permalink to this definition">¶</a></dt> |
---|
980 | <dd><p>Compute reciprocal unit cell constants from A |
---|
981 | returns tuple with a*,b*,c*,alpha*, beta*, gamma* (degrees)</p> |
---|
982 | </dd></dl> |
---|
983 | |
---|
984 | <dl class="function"> |
---|
985 | <dt id="GSASIIlattice.CellAbsorption"> |
---|
986 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CellAbsorption</tt><big>(</big><em>ElList</em>, <em>Volume</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CellAbsorption"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CellAbsorption" title="Permalink to this definition">¶</a></dt> |
---|
987 | <dd><p>Compute unit cell absorption</p> |
---|
988 | <table class="docutils field-list" frame="void" rules="none"> |
---|
989 | <col class="field-name" /> |
---|
990 | <col class="field-body" /> |
---|
991 | <tbody valign="top"> |
---|
992 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
993 | <li><strong>ElList</strong> (<em>dict</em>) – dictionary of element contents including mu and |
---|
994 | number of atoms be cell</li> |
---|
995 | <li><strong>Volume</strong> (<em>float</em>) – unit cell volume</li> |
---|
996 | </ul> |
---|
997 | </td> |
---|
998 | </tr> |
---|
999 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">mu-total/Volume</p> |
---|
1000 | </td> |
---|
1001 | </tr> |
---|
1002 | </tbody> |
---|
1003 | </table> |
---|
1004 | </dd></dl> |
---|
1005 | |
---|
1006 | <dl class="function"> |
---|
1007 | <dt id="GSASIIlattice.CellBlock"> |
---|
1008 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CellBlock</tt><big>(</big><em>nCells</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CellBlock"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CellBlock" title="Permalink to this definition">¶</a></dt> |
---|
1009 | <dd><p>Generate block of unit cells n*n*n on a side; [0,0,0] centered, n = 2*nCells+1 |
---|
1010 | currently only works for nCells = 0 or 1 (not >1)</p> |
---|
1011 | </dd></dl> |
---|
1012 | |
---|
1013 | <dl class="function"> |
---|
1014 | <dt id="GSASIIlattice.CentCheck"> |
---|
1015 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CentCheck</tt><big>(</big><em>Cent</em>, <em>H</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CentCheck"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CentCheck" title="Permalink to this definition">¶</a></dt> |
---|
1016 | <dd><p>needs doc string</p> |
---|
1017 | </dd></dl> |
---|
1018 | |
---|
1019 | <dl class="function"> |
---|
1020 | <dt id="GSASIIlattice.CosAngle"> |
---|
1021 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CosAngle</tt><big>(</big><em>U</em>, <em>V</em>, <em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CosAngle"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CosAngle" title="Permalink to this definition">¶</a></dt> |
---|
1022 | <dd><p>calculate cos of angle between U & V in generalized coordinates |
---|
1023 | defined by metric tensor G</p> |
---|
1024 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1025 | <col class="field-name" /> |
---|
1026 | <col class="field-body" /> |
---|
1027 | <tbody valign="top"> |
---|
1028 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1029 | <li><strong>U</strong> – 3-vectors assume numpy arrays, can be multiple reflections as (N,3) array</li> |
---|
1030 | <li><strong>V</strong> – 3-vectors assume numpy arrays, only as (3) vector</li> |
---|
1031 | <li><strong>G</strong> – metric tensor for U & V defined space assume numpy array</li> |
---|
1032 | </ul> |
---|
1033 | </td> |
---|
1034 | </tr> |
---|
1035 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">cos(phi)</p> |
---|
1036 | </td> |
---|
1037 | </tr> |
---|
1038 | </tbody> |
---|
1039 | </table> |
---|
1040 | </dd></dl> |
---|
1041 | |
---|
1042 | <dl class="function"> |
---|
1043 | <dt id="GSASIIlattice.CosSinAngle"> |
---|
1044 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CosSinAngle</tt><big>(</big><em>U</em>, <em>V</em>, <em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CosSinAngle"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CosSinAngle" title="Permalink to this definition">¶</a></dt> |
---|
1045 | <dd><p>calculate sin & cos of angle between U & V in generalized coordinates |
---|
1046 | defined by metric tensor G</p> |
---|
1047 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1048 | <col class="field-name" /> |
---|
1049 | <col class="field-body" /> |
---|
1050 | <tbody valign="top"> |
---|
1051 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1052 | <li><strong>U</strong> – 3-vectors assume numpy arrays</li> |
---|
1053 | <li><strong>V</strong> – 3-vectors assume numpy arrays</li> |
---|
1054 | <li><strong>G</strong> – metric tensor for U & V defined space assume numpy array</li> |
---|
1055 | </ul> |
---|
1056 | </td> |
---|
1057 | </tr> |
---|
1058 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">cos(phi) & sin(phi)</p> |
---|
1059 | </td> |
---|
1060 | </tr> |
---|
1061 | </tbody> |
---|
1062 | </table> |
---|
1063 | </dd></dl> |
---|
1064 | |
---|
1065 | <dl class="function"> |
---|
1066 | <dt id="GSASIIlattice.CrsAng"> |
---|
1067 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">CrsAng</tt><big>(</big><em>H</em>, <em>cell</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#CrsAng"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.CrsAng" title="Permalink to this definition">¶</a></dt> |
---|
1068 | <dd><p>needs doc string</p> |
---|
1069 | </dd></dl> |
---|
1070 | |
---|
1071 | <dl class="function"> |
---|
1072 | <dt id="GSASIIlattice.Dsp2pos"> |
---|
1073 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Dsp2pos</tt><big>(</big><em>Inst</em>, <em>dsp</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Dsp2pos"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Dsp2pos" title="Permalink to this definition">¶</a></dt> |
---|
1074 | <dd><p>convert d-spacing to powder pattern position (2-theta or TOF, musec)</p> |
---|
1075 | </dd></dl> |
---|
1076 | |
---|
1077 | <dl class="function"> |
---|
1078 | <dt id="GSASIIlattice.Flnh"> |
---|
1079 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Flnh</tt><big>(</big><em>Start</em>, <em>SHCoef</em>, <em>phi</em>, <em>beta</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Flnh"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Flnh" title="Permalink to this definition">¶</a></dt> |
---|
1080 | <dd><p>needs doc string</p> |
---|
1081 | </dd></dl> |
---|
1082 | |
---|
1083 | <dl class="function"> |
---|
1084 | <dt id="GSASIIlattice.GenHBravais"> |
---|
1085 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GenHBravais</tt><big>(</big><em>dmin</em>, <em>Bravais</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GenHBravais"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GenHBravais" title="Permalink to this definition">¶</a></dt> |
---|
1086 | <dd><p>Generate the positionally unique powder diffraction reflections</p> |
---|
1087 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1088 | <col class="field-name" /> |
---|
1089 | <col class="field-body" /> |
---|
1090 | <tbody valign="top"> |
---|
1091 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1092 | <li><strong>dmin</strong> – minimum d-spacing in A</li> |
---|
1093 | <li><strong>Bravais</strong> – lattice type (see GetBraviasNum). Bravais is one of:: |
---|
1094 | 0 F cubic |
---|
1095 | 1 I cubic |
---|
1096 | 2 P cubic |
---|
1097 | 3 R hexagonal (trigonal not rhombohedral) |
---|
1098 | 4 P hexagonal |
---|
1099 | 5 I tetragonal |
---|
1100 | 6 P tetragonal |
---|
1101 | 7 F orthorhombic |
---|
1102 | 8 I orthorhombic |
---|
1103 | 9 C orthorhombic |
---|
1104 | 10 P orthorhombic |
---|
1105 | 11 C monoclinic |
---|
1106 | 12 P monoclinic |
---|
1107 | 13 P triclinic</li> |
---|
1108 | <li><strong>A</strong> – reciprocal metric tensor elements as [G11,G22,G33,2*G12,2*G13,2*G23]</li> |
---|
1109 | </ul> |
---|
1110 | </td> |
---|
1111 | </tr> |
---|
1112 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">HKL unique d list of [h,k,l,d,-1] sorted with largest d first</p> |
---|
1113 | </td> |
---|
1114 | </tr> |
---|
1115 | </tbody> |
---|
1116 | </table> |
---|
1117 | </dd></dl> |
---|
1118 | |
---|
1119 | <dl class="function"> |
---|
1120 | <dt id="GSASIIlattice.GenHLaue"> |
---|
1121 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GenHLaue</tt><big>(</big><em>dmin</em>, <em>SGData</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GenHLaue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GenHLaue" title="Permalink to this definition">¶</a></dt> |
---|
1122 | <dd><p>Generate the crystallographically unique powder diffraction reflections |
---|
1123 | for a lattice and Bravais type</p> |
---|
1124 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1125 | <col class="field-name" /> |
---|
1126 | <col class="field-body" /> |
---|
1127 | <tbody valign="top"> |
---|
1128 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1129 | <li><strong>dmin</strong> – minimum d-spacing</li> |
---|
1130 | <li><strong>SGData</strong> – <p>space group dictionary with at least</p> |
---|
1131 | <ul> |
---|
1132 | <li>‘SGLaue’: Laue group symbol: one of ‘-1’,‘2/m’,’mmm’,‘4/m’,‘6/m’,‘4/mmm’,‘6/mmm’, ‘3m1’, ‘31m’, ‘3’, ‘3R’, ‘3mR’, ‘m3’, ‘m3m’</li> |
---|
1133 | <li>‘SGLatt’: lattice centering: one of ‘P’,’A’,’B’,’C’,’I’,’F’</li> |
---|
1134 | <li>‘SGUniq’: code for unique monoclinic axis one of ‘a’,’b’,’c’ (only if ‘SGLaue’ is ‘2/m’) otherwise an empty string</li> |
---|
1135 | </ul> |
---|
1136 | </li> |
---|
1137 | <li><strong>A</strong> – reciprocal metric tensor elements as [G11,G22,G33,2*G12,2*G13,2*G23]</li> |
---|
1138 | </ul> |
---|
1139 | </td> |
---|
1140 | </tr> |
---|
1141 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">HKL = list of [h,k,l,d] sorted with largest d first and is unique |
---|
1142 | part of reciprocal space ignoring anomalous dispersion</p> |
---|
1143 | </td> |
---|
1144 | </tr> |
---|
1145 | </tbody> |
---|
1146 | </table> |
---|
1147 | </dd></dl> |
---|
1148 | |
---|
1149 | <dl class="function"> |
---|
1150 | <dt id="GSASIIlattice.GenPfHKLs"> |
---|
1151 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GenPfHKLs</tt><big>(</big><em>nMax</em>, <em>SGData</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GenPfHKLs"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GenPfHKLs" title="Permalink to this definition">¶</a></dt> |
---|
1152 | <dd><p>Generate the unique pole figure reflections for a lattice and Bravais type. |
---|
1153 | Min d-spacing=1.0A & no more than nMax returned</p> |
---|
1154 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1155 | <col class="field-name" /> |
---|
1156 | <col class="field-body" /> |
---|
1157 | <tbody valign="top"> |
---|
1158 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1159 | <li><strong>nMax</strong> – maximum number of hkls returned</li> |
---|
1160 | <li><strong>SGData</strong> – <p>space group dictionary with at least</p> |
---|
1161 | <ul> |
---|
1162 | <li>‘SGLaue’: Laue group symbol: one of ‘-1’,‘2/m’,’mmm’,‘4/m’,‘6/m’,‘4/mmm’,‘6/mmm’, ‘3m1’, ‘31m’, ‘3’, ‘3R’, ‘3mR’, ‘m3’, ‘m3m’</li> |
---|
1163 | <li>‘SGLatt’: lattice centering: one of ‘P’,’A’,’B’,’C’,’I’,’F’</li> |
---|
1164 | <li>‘SGUniq’: code for unique monoclinic axis one of ‘a’,’b’,’c’ (only if ‘SGLaue’ is ‘2/m’) otherwise an empty string</li> |
---|
1165 | </ul> |
---|
1166 | </li> |
---|
1167 | <li><strong>A</strong> – reciprocal metric tensor elements as [G11,G22,G33,2*G12,2*G13,2*G23]</li> |
---|
1168 | </ul> |
---|
1169 | </td> |
---|
1170 | </tr> |
---|
1171 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">HKL = list of ‘h k l’ strings sorted with largest d first; no duplicate zones</p> |
---|
1172 | </td> |
---|
1173 | </tr> |
---|
1174 | </tbody> |
---|
1175 | </table> |
---|
1176 | </dd></dl> |
---|
1177 | |
---|
1178 | <dl class="function"> |
---|
1179 | <dt id="GSASIIlattice.GenSHCoeff"> |
---|
1180 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GenSHCoeff</tt><big>(</big><em>SGLaue</em>, <em>SamSym</em>, <em>L</em>, <em>IfLMN=True</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GenSHCoeff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GenSHCoeff" title="Permalink to this definition">¶</a></dt> |
---|
1181 | <dd><p>needs doc string</p> |
---|
1182 | </dd></dl> |
---|
1183 | |
---|
1184 | <dl class="function"> |
---|
1185 | <dt id="GSASIIlattice.GenSSHLaue"> |
---|
1186 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GenSSHLaue</tt><big>(</big><em>dmin</em>, <em>SGData</em>, <em>SSGData</em>, <em>Vec</em>, <em>maxH</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GenSSHLaue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GenSSHLaue" title="Permalink to this definition">¶</a></dt> |
---|
1187 | <dd><p>needs a doc string</p> |
---|
1188 | </dd></dl> |
---|
1189 | |
---|
1190 | <dl class="function"> |
---|
1191 | <dt id="GSASIIlattice.GetBraviasNum"> |
---|
1192 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GetBraviasNum</tt><big>(</big><em>center</em>, <em>system</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GetBraviasNum"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GetBraviasNum" title="Permalink to this definition">¶</a></dt> |
---|
1193 | <dd><p>Determine the Bravais lattice number, as used in GenHBravais</p> |
---|
1194 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1195 | <col class="field-name" /> |
---|
1196 | <col class="field-body" /> |
---|
1197 | <tbody valign="top"> |
---|
1198 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1199 | <li><strong>center</strong> – one of: ‘P’, ‘C’, ‘I’, ‘F’, ‘R’ (see SGLatt from GSASIIspc.SpcGroup)</li> |
---|
1200 | <li><strong>system</strong> – one of ‘cubic’, ‘hexagonal’, ‘tetragonal’, ‘orthorhombic’, ‘trigonal’ (for R) |
---|
1201 | ‘monoclinic’, ‘triclinic’ (see SGSys from GSASIIspc.SpcGroup)</li> |
---|
1202 | </ul> |
---|
1203 | </td> |
---|
1204 | </tr> |
---|
1205 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">a number between 0 and 13 |
---|
1206 | or throws a ValueError exception if the combination of center, system is not found (i.e. non-standard)</p> |
---|
1207 | </td> |
---|
1208 | </tr> |
---|
1209 | </tbody> |
---|
1210 | </table> |
---|
1211 | </dd></dl> |
---|
1212 | |
---|
1213 | <dl class="function"> |
---|
1214 | <dt id="GSASIIlattice.GetKcl"> |
---|
1215 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GetKcl</tt><big>(</big><em>L</em>, <em>N</em>, <em>SGLaue</em>, <em>phi</em>, <em>beta</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GetKcl"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GetKcl" title="Permalink to this definition">¶</a></dt> |
---|
1216 | <dd><p>needs doc string</p> |
---|
1217 | </dd></dl> |
---|
1218 | |
---|
1219 | <dl class="function"> |
---|
1220 | <dt id="GSASIIlattice.GetKclKsl"> |
---|
1221 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GetKclKsl</tt><big>(</big><em>L</em>, <em>N</em>, <em>SGLaue</em>, <em>psi</em>, <em>phi</em>, <em>beta</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GetKclKsl"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GetKclKsl" title="Permalink to this definition">¶</a></dt> |
---|
1222 | <dd><dl class="docutils"> |
---|
1223 | <dt>This is used for spherical harmonics description of preferred orientation;</dt> |
---|
1224 | <dd>cylindrical symmetry only (M=0) and no sample angle derivatives returned</dd> |
---|
1225 | </dl> |
---|
1226 | </dd></dl> |
---|
1227 | |
---|
1228 | <dl class="function"> |
---|
1229 | <dt id="GSASIIlattice.GetKsl"> |
---|
1230 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">GetKsl</tt><big>(</big><em>L</em>, <em>M</em>, <em>SamSym</em>, <em>psi</em>, <em>gam</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#GetKsl"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.GetKsl" title="Permalink to this definition">¶</a></dt> |
---|
1231 | <dd><p>needs doc string</p> |
---|
1232 | </dd></dl> |
---|
1233 | |
---|
1234 | <dl class="function"> |
---|
1235 | <dt id="GSASIIlattice.Glnh"> |
---|
1236 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Glnh</tt><big>(</big><em>Start</em>, <em>SHCoef</em>, <em>psi</em>, <em>gam</em>, <em>SamSym</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Glnh"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Glnh" title="Permalink to this definition">¶</a></dt> |
---|
1237 | <dd><p>needs doc string</p> |
---|
1238 | </dd></dl> |
---|
1239 | |
---|
1240 | <dl class="function"> |
---|
1241 | <dt id="GSASIIlattice.Gmat2A"> |
---|
1242 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Gmat2A</tt><big>(</big><em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Gmat2A"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Gmat2A" title="Permalink to this definition">¶</a></dt> |
---|
1243 | <dd><p>Extract A from reciprocal metric tensor (G)</p> |
---|
1244 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1245 | <col class="field-name" /> |
---|
1246 | <col class="field-body" /> |
---|
1247 | <tbody valign="top"> |
---|
1248 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>G</strong> – reciprocal maetric tensor (3x3 numpy array</td> |
---|
1249 | </tr> |
---|
1250 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">A = [G11,G22,G33,2*G12,2*G13,2*G23]</td> |
---|
1251 | </tr> |
---|
1252 | </tbody> |
---|
1253 | </table> |
---|
1254 | </dd></dl> |
---|
1255 | |
---|
1256 | <dl class="function"> |
---|
1257 | <dt id="GSASIIlattice.Gmat2AB"> |
---|
1258 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Gmat2AB</tt><big>(</big><em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Gmat2AB"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Gmat2AB" title="Permalink to this definition">¶</a></dt> |
---|
1259 | <dd><p>Computes orthogonalization matrix from reciprocal metric tensor G</p> |
---|
1260 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1261 | <col class="field-name" /> |
---|
1262 | <col class="field-body" /> |
---|
1263 | <tbody valign="top"> |
---|
1264 | <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">tuple of two 3x3 numpy arrays (A,B)<ul class="simple"> |
---|
1265 | <li>A for crystal to Cartesian transformations A*x = np.inner(A,x) = X</li> |
---|
1266 | <li>B (= inverse of A) for Cartesian to crystal transformation B*X = np.inner(B,X) = x</li> |
---|
1267 | </ul> |
---|
1268 | </td> |
---|
1269 | </tr> |
---|
1270 | </tbody> |
---|
1271 | </table> |
---|
1272 | </dd></dl> |
---|
1273 | |
---|
1274 | <dl class="function"> |
---|
1275 | <dt id="GSASIIlattice.Gmat2cell"> |
---|
1276 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Gmat2cell</tt><big>(</big><em>g</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Gmat2cell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Gmat2cell" title="Permalink to this definition">¶</a></dt> |
---|
1277 | <dd><p>Compute real/reciprocal lattice parameters from real/reciprocal metric tensor (g/G) |
---|
1278 | The math works the same either way.</p> |
---|
1279 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1280 | <col class="field-name" /> |
---|
1281 | <col class="field-body" /> |
---|
1282 | <tbody valign="top"> |
---|
1283 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>(or G)</strong> (<em>g</em>) – real (or reciprocal) metric tensor 3x3 array</td> |
---|
1284 | </tr> |
---|
1285 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a,b,c,alpha, beta, gamma (degrees) (or a*,b*,c*,alpha*,beta*,gamma* degrees)</td> |
---|
1286 | </tr> |
---|
1287 | </tbody> |
---|
1288 | </table> |
---|
1289 | </dd></dl> |
---|
1290 | |
---|
1291 | <dl class="function"> |
---|
1292 | <dt id="GSASIIlattice.Hx2Rh"> |
---|
1293 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Hx2Rh</tt><big>(</big><em>Hx</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Hx2Rh"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Hx2Rh" title="Permalink to this definition">¶</a></dt> |
---|
1294 | <dd><p>needs doc string</p> |
---|
1295 | </dd></dl> |
---|
1296 | |
---|
1297 | <dl class="function"> |
---|
1298 | <dt id="GSASIIlattice.MaxIndex"> |
---|
1299 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">MaxIndex</tt><big>(</big><em>dmin</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#MaxIndex"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.MaxIndex" title="Permalink to this definition">¶</a></dt> |
---|
1300 | <dd><p>needs doc string</p> |
---|
1301 | </dd></dl> |
---|
1302 | |
---|
1303 | <dl class="function"> |
---|
1304 | <dt id="GSASIIlattice.OdfChk"> |
---|
1305 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">OdfChk</tt><big>(</big><em>SGLaue</em>, <em>L</em>, <em>M</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#OdfChk"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.OdfChk" title="Permalink to this definition">¶</a></dt> |
---|
1306 | <dd><p>needs doc string</p> |
---|
1307 | </dd></dl> |
---|
1308 | |
---|
1309 | <dl class="function"> |
---|
1310 | <dt id="GSASIIlattice.Pos2dsp"> |
---|
1311 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Pos2dsp</tt><big>(</big><em>Inst</em>, <em>pos</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Pos2dsp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Pos2dsp" title="Permalink to this definition">¶</a></dt> |
---|
1312 | <dd><p>convert powder pattern position (2-theta or TOF, musec) to d-spacing</p> |
---|
1313 | </dd></dl> |
---|
1314 | |
---|
1315 | <dl class="function"> |
---|
1316 | <dt id="GSASIIlattice.Rh2Hx"> |
---|
1317 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Rh2Hx</tt><big>(</big><em>Rh</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Rh2Hx"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Rh2Hx" title="Permalink to this definition">¶</a></dt> |
---|
1318 | <dd><p>needs doc string</p> |
---|
1319 | </dd></dl> |
---|
1320 | |
---|
1321 | <dl class="function"> |
---|
1322 | <dt id="GSASIIlattice.SamAng"> |
---|
1323 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">SamAng</tt><big>(</big><em>Tth</em>, <em>Gangls</em>, <em>Sangl</em>, <em>IFCoup</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#SamAng"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.SamAng" title="Permalink to this definition">¶</a></dt> |
---|
1324 | <dd><p>Compute sample orientation angles vs laboratory coord. system</p> |
---|
1325 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1326 | <col class="field-name" /> |
---|
1327 | <col class="field-body" /> |
---|
1328 | <tbody valign="top"> |
---|
1329 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1330 | <li><strong>Tth</strong> – Signed theta</li> |
---|
1331 | <li><strong>Gangls</strong> – Sample goniometer angles phi,chi,omega,azmuth</li> |
---|
1332 | <li><strong>Sangl</strong> – Sample angle zeros om-0, chi-0, phi-0</li> |
---|
1333 | <li><strong>IFCoup</strong> – True if omega & 2-theta coupled in CW scan</li> |
---|
1334 | </ul> |
---|
1335 | </td> |
---|
1336 | </tr> |
---|
1337 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">psi,gam: Sample odf angles |
---|
1338 | dPSdA,dGMdA: Angle zero derivatives</p> |
---|
1339 | </td> |
---|
1340 | </tr> |
---|
1341 | </tbody> |
---|
1342 | </table> |
---|
1343 | </dd></dl> |
---|
1344 | |
---|
1345 | <dl class="function"> |
---|
1346 | <dt id="GSASIIlattice.SwapIndx"> |
---|
1347 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">SwapIndx</tt><big>(</big><em>Axis</em>, <em>H</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#SwapIndx"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.SwapIndx" title="Permalink to this definition">¶</a></dt> |
---|
1348 | <dd><p>needs doc string</p> |
---|
1349 | </dd></dl> |
---|
1350 | |
---|
1351 | <dl class="function"> |
---|
1352 | <dt id="GSASIIlattice.TOF2dsp"> |
---|
1353 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">TOF2dsp</tt><big>(</big><em>Inst</em>, <em>Pos</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#TOF2dsp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.TOF2dsp" title="Permalink to this definition">¶</a></dt> |
---|
1354 | <dd><p>convert powder pattern TOF, musec to d-spacing by successive approximation |
---|
1355 | Pos can be numpy array</p> |
---|
1356 | </dd></dl> |
---|
1357 | |
---|
1358 | <dl class="function"> |
---|
1359 | <dt id="GSASIIlattice.U6toUij"> |
---|
1360 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">U6toUij</tt><big>(</big><em>U6</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#U6toUij"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.U6toUij" title="Permalink to this definition">¶</a></dt> |
---|
1361 | <dd><p>Fill matrix (Uij) from U6 = [U11,U22,U33,U12,U13,U23] |
---|
1362 | NB: there is a non numpy version in GSASIIspc: U2Uij</p> |
---|
1363 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1364 | <col class="field-name" /> |
---|
1365 | <col class="field-body" /> |
---|
1366 | <tbody valign="top"> |
---|
1367 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>U6</strong> (<em>list</em>) – 6 terms of u11,u22,...</td> |
---|
1368 | </tr> |
---|
1369 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">Uij - numpy [3][3] array of uij</td> |
---|
1370 | </tr> |
---|
1371 | </tbody> |
---|
1372 | </table> |
---|
1373 | </dd></dl> |
---|
1374 | |
---|
1375 | <dl class="function"> |
---|
1376 | <dt id="GSASIIlattice.Uij2Ueqv"> |
---|
1377 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Uij2Ueqv</tt><big>(</big><em>Uij</em>, <em>GS</em>, <em>Amat</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Uij2Ueqv"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Uij2Ueqv" title="Permalink to this definition">¶</a></dt> |
---|
1378 | <dd><p>returns 1/3 trace of diagonalized U matrix</p> |
---|
1379 | </dd></dl> |
---|
1380 | |
---|
1381 | <dl class="function"> |
---|
1382 | <dt id="GSASIIlattice.Uij2betaij"> |
---|
1383 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">Uij2betaij</tt><big>(</big><em>Uij</em>, <em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#Uij2betaij"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.Uij2betaij" title="Permalink to this definition">¶</a></dt> |
---|
1384 | <dd><p>Convert Uij to beta-ij tensors – stub for eventual completion</p> |
---|
1385 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1386 | <col class="field-name" /> |
---|
1387 | <col class="field-body" /> |
---|
1388 | <tbody valign="top"> |
---|
1389 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1390 | <li><strong>Uij</strong> – numpy array [Uij]</li> |
---|
1391 | <li><strong>G</strong> – reciprocal metric tensor</li> |
---|
1392 | </ul> |
---|
1393 | </td> |
---|
1394 | </tr> |
---|
1395 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">beta-ij - numpy array [beta-ij]</p> |
---|
1396 | </td> |
---|
1397 | </tr> |
---|
1398 | </tbody> |
---|
1399 | </table> |
---|
1400 | </dd></dl> |
---|
1401 | |
---|
1402 | <dl class="function"> |
---|
1403 | <dt id="GSASIIlattice.UijtoU6"> |
---|
1404 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">UijtoU6</tt><big>(</big><em>U</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#UijtoU6"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.UijtoU6" title="Permalink to this definition">¶</a></dt> |
---|
1405 | <dd><p>Fill vector [U11,U22,U33,U12,U13,U23] from Uij |
---|
1406 | NB: there is a non numpy version in GSASIIspc: Uij2U</p> |
---|
1407 | </dd></dl> |
---|
1408 | |
---|
1409 | <dl class="function"> |
---|
1410 | <dt id="GSASIIlattice.calc_V"> |
---|
1411 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_V</tt><big>(</big><em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_V"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_V" title="Permalink to this definition">¶</a></dt> |
---|
1412 | <dd><p>Compute the real lattice volume (V) from A</p> |
---|
1413 | </dd></dl> |
---|
1414 | |
---|
1415 | <dl class="function"> |
---|
1416 | <dt id="GSASIIlattice.calc_rDsq"> |
---|
1417 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsq</tt><big>(</big><em>H</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsq"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsq" title="Permalink to this definition">¶</a></dt> |
---|
1418 | <dd><p>needs doc string</p> |
---|
1419 | </dd></dl> |
---|
1420 | |
---|
1421 | <dl class="function"> |
---|
1422 | <dt id="GSASIIlattice.calc_rDsq2"> |
---|
1423 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsq2</tt><big>(</big><em>H</em>, <em>G</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsq2"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsq2" title="Permalink to this definition">¶</a></dt> |
---|
1424 | <dd><p>needs doc string</p> |
---|
1425 | </dd></dl> |
---|
1426 | |
---|
1427 | <dl class="function"> |
---|
1428 | <dt id="GSASIIlattice.calc_rDsqSS"> |
---|
1429 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsqSS</tt><big>(</big><em>H</em>, <em>A</em>, <em>vec</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsqSS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsqSS" title="Permalink to this definition">¶</a></dt> |
---|
1430 | <dd><p>needs doc string</p> |
---|
1431 | </dd></dl> |
---|
1432 | |
---|
1433 | <dl class="function"> |
---|
1434 | <dt id="GSASIIlattice.calc_rDsqT"> |
---|
1435 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsqT</tt><big>(</big><em>H</em>, <em>A</em>, <em>Z</em>, <em>tof</em>, <em>difC</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsqT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsqT" title="Permalink to this definition">¶</a></dt> |
---|
1436 | <dd><p>needs doc string</p> |
---|
1437 | </dd></dl> |
---|
1438 | |
---|
1439 | <dl class="function"> |
---|
1440 | <dt id="GSASIIlattice.calc_rDsqTSS"> |
---|
1441 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsqTSS</tt><big>(</big><em>H</em>, <em>A</em>, <em>vec</em>, <em>Z</em>, <em>tof</em>, <em>difC</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsqTSS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsqTSS" title="Permalink to this definition">¶</a></dt> |
---|
1442 | <dd><p>needs doc string</p> |
---|
1443 | </dd></dl> |
---|
1444 | |
---|
1445 | <dl class="function"> |
---|
1446 | <dt id="GSASIIlattice.calc_rDsqZ"> |
---|
1447 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsqZ</tt><big>(</big><em>H</em>, <em>A</em>, <em>Z</em>, <em>tth</em>, <em>lam</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsqZ"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsqZ" title="Permalink to this definition">¶</a></dt> |
---|
1448 | <dd><p>needs doc string</p> |
---|
1449 | </dd></dl> |
---|
1450 | |
---|
1451 | <dl class="function"> |
---|
1452 | <dt id="GSASIIlattice.calc_rDsqZSS"> |
---|
1453 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rDsqZSS</tt><big>(</big><em>H</em>, <em>A</em>, <em>vec</em>, <em>Z</em>, <em>tth</em>, <em>lam</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rDsqZSS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rDsqZSS" title="Permalink to this definition">¶</a></dt> |
---|
1454 | <dd><p>needs doc string</p> |
---|
1455 | </dd></dl> |
---|
1456 | |
---|
1457 | <dl class="function"> |
---|
1458 | <dt id="GSASIIlattice.calc_rV"> |
---|
1459 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rV</tt><big>(</big><em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rV"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rV" title="Permalink to this definition">¶</a></dt> |
---|
1460 | <dd><p>Compute the reciprocal lattice volume (V*) from A</p> |
---|
1461 | </dd></dl> |
---|
1462 | |
---|
1463 | <dl class="function"> |
---|
1464 | <dt id="GSASIIlattice.calc_rVsq"> |
---|
1465 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">calc_rVsq</tt><big>(</big><em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#calc_rVsq"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.calc_rVsq" title="Permalink to this definition">¶</a></dt> |
---|
1466 | <dd><p>Compute the square of the reciprocal lattice volume (1/V**2) from A’</p> |
---|
1467 | </dd></dl> |
---|
1468 | |
---|
1469 | <dl class="function"> |
---|
1470 | <dt id="GSASIIlattice.cell2A"> |
---|
1471 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">cell2A</tt><big>(</big><em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#cell2A"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.cell2A" title="Permalink to this definition">¶</a></dt> |
---|
1472 | <dd><p>Obtain A = [G11,G22,G33,2*G12,2*G13,2*G23] from lattice parameters</p> |
---|
1473 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1474 | <col class="field-name" /> |
---|
1475 | <col class="field-body" /> |
---|
1476 | <tbody valign="top"> |
---|
1477 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>cell</strong> – [a,b,c,alpha,beta,gamma] (degrees)</td> |
---|
1478 | </tr> |
---|
1479 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">G reciprocal metric tensor as 3x3 numpy array</td> |
---|
1480 | </tr> |
---|
1481 | </tbody> |
---|
1482 | </table> |
---|
1483 | </dd></dl> |
---|
1484 | |
---|
1485 | <dl class="function"> |
---|
1486 | <dt id="GSASIIlattice.cell2AB"> |
---|
1487 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">cell2AB</tt><big>(</big><em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#cell2AB"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.cell2AB" title="Permalink to this definition">¶</a></dt> |
---|
1488 | <dd><p>Computes orthogonalization matrix from unit cell constants</p> |
---|
1489 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1490 | <col class="field-name" /> |
---|
1491 | <col class="field-body" /> |
---|
1492 | <tbody valign="top"> |
---|
1493 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>cell</strong> (<em>tuple</em>) – a,b,c, alpha, beta, gamma (degrees)</td> |
---|
1494 | </tr> |
---|
1495 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">tuple of two 3x3 numpy arrays (A,B) |
---|
1496 | A for crystal to Cartesian transformations A*x = np.inner(A,x) = X |
---|
1497 | B (= inverse of A) for Cartesian to crystal transformation B*X = np.inner(B,X) = x</td> |
---|
1498 | </tr> |
---|
1499 | </tbody> |
---|
1500 | </table> |
---|
1501 | </dd></dl> |
---|
1502 | |
---|
1503 | <dl class="function"> |
---|
1504 | <dt id="GSASIIlattice.cell2GS"> |
---|
1505 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">cell2GS</tt><big>(</big><em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#cell2GS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.cell2GS" title="Permalink to this definition">¶</a></dt> |
---|
1506 | <dd><p>returns Uij to betaij conversion matrix</p> |
---|
1507 | </dd></dl> |
---|
1508 | |
---|
1509 | <dl class="function"> |
---|
1510 | <dt id="GSASIIlattice.cell2Gmat"> |
---|
1511 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">cell2Gmat</tt><big>(</big><em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#cell2Gmat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.cell2Gmat" title="Permalink to this definition">¶</a></dt> |
---|
1512 | <dd><p>Compute real and reciprocal lattice metric tensor from unit cell constants</p> |
---|
1513 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1514 | <col class="field-name" /> |
---|
1515 | <col class="field-body" /> |
---|
1516 | <tbody valign="top"> |
---|
1517 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>cell</strong> – tuple with a,b,c,alpha, beta, gamma (degrees)</td> |
---|
1518 | </tr> |
---|
1519 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">reciprocal (G) & real (g) metric tensors (list of two numpy 3x3 arrays)</td> |
---|
1520 | </tr> |
---|
1521 | </tbody> |
---|
1522 | </table> |
---|
1523 | </dd></dl> |
---|
1524 | |
---|
1525 | <dl class="function"> |
---|
1526 | <dt id="GSASIIlattice.combinations"> |
---|
1527 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">combinations</tt><big>(</big><em>items</em>, <em>n</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#combinations"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.combinations" title="Permalink to this definition">¶</a></dt> |
---|
1528 | <dd><p>take n distinct items, order matters</p> |
---|
1529 | </dd></dl> |
---|
1530 | |
---|
1531 | <dl class="function"> |
---|
1532 | <dt id="GSASIIlattice.criticalEllipse"> |
---|
1533 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">criticalEllipse</tt><big>(</big><em>prob</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#criticalEllipse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.criticalEllipse" title="Permalink to this definition">¶</a></dt> |
---|
1534 | <dd><p>Calculate critical values for probability ellipsoids from probability</p> |
---|
1535 | </dd></dl> |
---|
1536 | |
---|
1537 | <dl class="function"> |
---|
1538 | <dt id="GSASIIlattice.fillgmat"> |
---|
1539 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">fillgmat</tt><big>(</big><em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#fillgmat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.fillgmat" title="Permalink to this definition">¶</a></dt> |
---|
1540 | <dd><p>Compute lattice metric tensor from unit cell constants</p> |
---|
1541 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1542 | <col class="field-name" /> |
---|
1543 | <col class="field-body" /> |
---|
1544 | <tbody valign="top"> |
---|
1545 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>cell</strong> – tuple with a,b,c,alpha, beta, gamma (degrees)</td> |
---|
1546 | </tr> |
---|
1547 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">3x3 numpy array</td> |
---|
1548 | </tr> |
---|
1549 | </tbody> |
---|
1550 | </table> |
---|
1551 | </dd></dl> |
---|
1552 | |
---|
1553 | <dl class="function"> |
---|
1554 | <dt id="GSASIIlattice.getHKLmax"> |
---|
1555 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">getHKLmax</tt><big>(</big><em>dmin</em>, <em>SGData</em>, <em>A</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#getHKLmax"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.getHKLmax" title="Permalink to this definition">¶</a></dt> |
---|
1556 | <dd><p>finds maximum allowed hkl for given A within dmin</p> |
---|
1557 | </dd></dl> |
---|
1558 | |
---|
1559 | <dl class="function"> |
---|
1560 | <dt id="GSASIIlattice.getPeakPos"> |
---|
1561 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">getPeakPos</tt><big>(</big><em>dataType</em>, <em>parmdict</em>, <em>dsp</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#getPeakPos"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.getPeakPos" title="Permalink to this definition">¶</a></dt> |
---|
1562 | <dd><p>convert d-spacing to powder pattern position (2-theta or TOF, musec)</p> |
---|
1563 | </dd></dl> |
---|
1564 | |
---|
1565 | <dl class="function"> |
---|
1566 | <dt id="GSASIIlattice.invcell2Gmat"> |
---|
1567 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">invcell2Gmat</tt><big>(</big><em>invcell</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#invcell2Gmat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.invcell2Gmat" title="Permalink to this definition">¶</a></dt> |
---|
1568 | <dd><dl class="docutils"> |
---|
1569 | <dt>Compute real and reciprocal lattice metric tensor from reciprocal </dt> |
---|
1570 | <dd>unit cell constants</dd> |
---|
1571 | </dl> |
---|
1572 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1573 | <col class="field-name" /> |
---|
1574 | <col class="field-body" /> |
---|
1575 | <tbody valign="top"> |
---|
1576 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>invcell</strong> – [a*,b*,c*,alpha*, beta*, gamma*] (degrees)</td> |
---|
1577 | </tr> |
---|
1578 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">reciprocal (G) & real (g) metric tensors (list of two 3x3 arrays)</td> |
---|
1579 | </tr> |
---|
1580 | </tbody> |
---|
1581 | </table> |
---|
1582 | </dd></dl> |
---|
1583 | |
---|
1584 | <dl class="function"> |
---|
1585 | <dt id="GSASIIlattice.invpolfcal"> |
---|
1586 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">invpolfcal</tt><big>(</big><em>ODFln</em>, <em>SGData</em>, <em>phi</em>, <em>beta</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#invpolfcal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.invpolfcal" title="Permalink to this definition">¶</a></dt> |
---|
1587 | <dd><p>needs doc string</p> |
---|
1588 | </dd></dl> |
---|
1589 | |
---|
1590 | <dl class="function"> |
---|
1591 | <dt id="GSASIIlattice.permutations"> |
---|
1592 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">permutations</tt><big>(</big><em>items</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#permutations"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.permutations" title="Permalink to this definition">¶</a></dt> |
---|
1593 | <dd><p>take all items, order matters</p> |
---|
1594 | </dd></dl> |
---|
1595 | |
---|
1596 | <dl class="function"> |
---|
1597 | <dt id="GSASIIlattice.polfcal"> |
---|
1598 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">polfcal</tt><big>(</big><em>ODFln</em>, <em>SamSym</em>, <em>psi</em>, <em>gam</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#polfcal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.polfcal" title="Permalink to this definition">¶</a></dt> |
---|
1599 | <dd><p>Perform a pole figure computation. |
---|
1600 | Note that the the number of gam values must either be 1 or must |
---|
1601 | match psi. Updated for numpy 1.8.0</p> |
---|
1602 | </dd></dl> |
---|
1603 | |
---|
1604 | <dl class="function"> |
---|
1605 | <dt id="GSASIIlattice.rotdMat"> |
---|
1606 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">rotdMat</tt><big>(</big><em>angle</em>, <em>axis=0</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#rotdMat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.rotdMat" title="Permalink to this definition">¶</a></dt> |
---|
1607 | <dd><p>Prepare rotation matrix for angle in degrees about axis(=0,1,2)</p> |
---|
1608 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1609 | <col class="field-name" /> |
---|
1610 | <col class="field-body" /> |
---|
1611 | <tbody valign="top"> |
---|
1612 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1613 | <li><strong>angle</strong> – angle in degrees</li> |
---|
1614 | <li><strong>axis</strong> – axis (0,1,2 = x,y,z) about which for the rotation</li> |
---|
1615 | </ul> |
---|
1616 | </td> |
---|
1617 | </tr> |
---|
1618 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">rotation matrix - 3x3 numpy array</p> |
---|
1619 | </td> |
---|
1620 | </tr> |
---|
1621 | </tbody> |
---|
1622 | </table> |
---|
1623 | </dd></dl> |
---|
1624 | |
---|
1625 | <dl class="function"> |
---|
1626 | <dt id="GSASIIlattice.rotdMat4"> |
---|
1627 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">rotdMat4</tt><big>(</big><em>angle</em>, <em>axis=0</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#rotdMat4"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.rotdMat4" title="Permalink to this definition">¶</a></dt> |
---|
1628 | <dd><p>Prepare rotation matrix for angle in degrees about axis(=0,1,2) with scaling for OpenGL</p> |
---|
1629 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1630 | <col class="field-name" /> |
---|
1631 | <col class="field-body" /> |
---|
1632 | <tbody valign="top"> |
---|
1633 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1634 | <li><strong>angle</strong> – angle in degrees</li> |
---|
1635 | <li><strong>axis</strong> – axis (0,1,2 = x,y,z) about which for the rotation</li> |
---|
1636 | </ul> |
---|
1637 | </td> |
---|
1638 | </tr> |
---|
1639 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">rotation matrix - 4x4 numpy array (last row/column for openGL scaling)</p> |
---|
1640 | </td> |
---|
1641 | </tr> |
---|
1642 | </tbody> |
---|
1643 | </table> |
---|
1644 | </dd></dl> |
---|
1645 | |
---|
1646 | <dl class="function"> |
---|
1647 | <dt id="GSASIIlattice.sec2HMS"> |
---|
1648 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">sec2HMS</tt><big>(</big><em>sec</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#sec2HMS"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.sec2HMS" title="Permalink to this definition">¶</a></dt> |
---|
1649 | <dd><p>Convert time in sec to H:M:S string</p> |
---|
1650 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1651 | <col class="field-name" /> |
---|
1652 | <col class="field-body" /> |
---|
1653 | <tbody valign="top"> |
---|
1654 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>sec</strong> – time in seconds</td> |
---|
1655 | </tr> |
---|
1656 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">H:M:S string (to nearest 100th second)</td> |
---|
1657 | </tr> |
---|
1658 | </tbody> |
---|
1659 | </table> |
---|
1660 | </dd></dl> |
---|
1661 | |
---|
1662 | <dl class="function"> |
---|
1663 | <dt id="GSASIIlattice.selections"> |
---|
1664 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">selections</tt><big>(</big><em>items</em>, <em>n</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#selections"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.selections" title="Permalink to this definition">¶</a></dt> |
---|
1665 | <dd><p>take n (not necessarily distinct) items, order matters</p> |
---|
1666 | </dd></dl> |
---|
1667 | |
---|
1668 | <dl class="data"> |
---|
1669 | <dt id="GSASIIlattice.selftestlist"> |
---|
1670 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">selftestlist</tt><em class="property"> = [<function test0 at 0x10999caa0>, <function test1 at 0x10999cb18>, <function test2 at 0x10999cb90>, <function test3 at 0x10999cc08>, <function test4 at 0x10999cc80>, <function test5 at 0x10999ccf8>, <function test6 at 0x10999cd70>, <function test7 at 0x10999cde8>, <function test8 at 0x10999ce60>, <function test9 at 0x10999ced8>]</em><a class="headerlink" href="#GSASIIlattice.selftestlist" title="Permalink to this definition">¶</a></dt> |
---|
1671 | <dd><p>Defines a list of self-tests</p> |
---|
1672 | </dd></dl> |
---|
1673 | |
---|
1674 | <dl class="function"> |
---|
1675 | <dt id="GSASIIlattice.sortHKLd"> |
---|
1676 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">sortHKLd</tt><big>(</big><em>HKLd</em>, <em>ifreverse</em>, <em>ifdup</em>, <em>ifSS=False</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#sortHKLd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.sortHKLd" title="Permalink to this definition">¶</a></dt> |
---|
1677 | <dd><p>needs doc string</p> |
---|
1678 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1679 | <col class="field-name" /> |
---|
1680 | <col class="field-body" /> |
---|
1681 | <tbody valign="top"> |
---|
1682 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
1683 | <li><strong>HKLd</strong> – a list of [h,k,l,d,...];</li> |
---|
1684 | <li><strong>ifreverse</strong> – True for largest d first</li> |
---|
1685 | <li><strong>ifdup</strong> – True if duplicate d-spacings allowed</li> |
---|
1686 | </ul> |
---|
1687 | </td> |
---|
1688 | </tr> |
---|
1689 | </tbody> |
---|
1690 | </table> |
---|
1691 | </dd></dl> |
---|
1692 | |
---|
1693 | <dl class="function"> |
---|
1694 | <dt id="GSASIIlattice.test1"> |
---|
1695 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test1</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test1"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test1" title="Permalink to this definition">¶</a></dt> |
---|
1696 | <dd><p>test cell2A and A2Gmat</p> |
---|
1697 | </dd></dl> |
---|
1698 | |
---|
1699 | <dl class="function"> |
---|
1700 | <dt id="GSASIIlattice.test2"> |
---|
1701 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test2</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test2"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test2" title="Permalink to this definition">¶</a></dt> |
---|
1702 | <dd><p>test Gmat2A, A2cell, A2Gmat, Gmat2cell</p> |
---|
1703 | </dd></dl> |
---|
1704 | |
---|
1705 | <dl class="function"> |
---|
1706 | <dt id="GSASIIlattice.test3"> |
---|
1707 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test3</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test3"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test3" title="Permalink to this definition">¶</a></dt> |
---|
1708 | <dd><p>test invcell2Gmat</p> |
---|
1709 | </dd></dl> |
---|
1710 | |
---|
1711 | <dl class="function"> |
---|
1712 | <dt id="GSASIIlattice.test4"> |
---|
1713 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test4</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test4"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test4" title="Permalink to this definition">¶</a></dt> |
---|
1714 | <dd><p>test calc_rVsq, calc_rV, calc_V</p> |
---|
1715 | </dd></dl> |
---|
1716 | |
---|
1717 | <dl class="function"> |
---|
1718 | <dt id="GSASIIlattice.test5"> |
---|
1719 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test5</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test5"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test5" title="Permalink to this definition">¶</a></dt> |
---|
1720 | <dd><p>test A2invcell</p> |
---|
1721 | </dd></dl> |
---|
1722 | |
---|
1723 | <dl class="function"> |
---|
1724 | <dt id="GSASIIlattice.test6"> |
---|
1725 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test6</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test6"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test6" title="Permalink to this definition">¶</a></dt> |
---|
1726 | <dd><p>test cell2AB</p> |
---|
1727 | </dd></dl> |
---|
1728 | |
---|
1729 | <dl class="function"> |
---|
1730 | <dt id="GSASIIlattice.test7"> |
---|
1731 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test7</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test7"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test7" title="Permalink to this definition">¶</a></dt> |
---|
1732 | <dd><p>test GetBraviasNum(...) and GenHBravais(...)</p> |
---|
1733 | </dd></dl> |
---|
1734 | |
---|
1735 | <dl class="function"> |
---|
1736 | <dt id="GSASIIlattice.test8"> |
---|
1737 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test8</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test8"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test8" title="Permalink to this definition">¶</a></dt> |
---|
1738 | <dd><p>test GenHLaue</p> |
---|
1739 | </dd></dl> |
---|
1740 | |
---|
1741 | <dl class="function"> |
---|
1742 | <dt id="GSASIIlattice.test9"> |
---|
1743 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">test9</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#test9"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.test9" title="Permalink to this definition">¶</a></dt> |
---|
1744 | <dd><p>test GenHLaue</p> |
---|
1745 | </dd></dl> |
---|
1746 | |
---|
1747 | <dl class="function"> |
---|
1748 | <dt id="GSASIIlattice.textureIndex"> |
---|
1749 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">textureIndex</tt><big>(</big><em>SHCoef</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#textureIndex"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.textureIndex" title="Permalink to this definition">¶</a></dt> |
---|
1750 | <dd><p>needs doc string</p> |
---|
1751 | </dd></dl> |
---|
1752 | |
---|
1753 | <dl class="function"> |
---|
1754 | <dt id="GSASIIlattice.uniqueCombinations"> |
---|
1755 | <tt class="descclassname">GSASIIlattice.</tt><tt class="descname">uniqueCombinations</tt><big>(</big><em>items</em>, <em>n</em><big>)</big><a class="reference internal" href="_modules/GSASIIlattice.html#uniqueCombinations"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIlattice.uniqueCombinations" title="Permalink to this definition">¶</a></dt> |
---|
1756 | <dd><p>take n distinct items, order is irrelevant</p> |
---|
1757 | </dd></dl> |
---|
1758 | |
---|
1759 | </div> |
---|
1760 | <span class="target" id="module-GSASIIspc"></span><div class="section" id="gsasiispc-space-group-module"> |
---|
1761 | <h2><em>GSASIIspc: Space group module</em><a class="headerlink" href="#gsasiispc-space-group-module" title="Permalink to this headline">¶</a></h2> |
---|
1762 | <p>Space group interpretation routines. Note that space group information is |
---|
1763 | stored in a <a class="reference internal" href="GSASIIobj.html#sgdata-table"><em>Space Group (SGData)</em></a> object.</p> |
---|
1764 | <dl class="function"> |
---|
1765 | <dt id="GSASIIspc.AllOps"> |
---|
1766 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">AllOps</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#AllOps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.AllOps" title="Permalink to this definition">¶</a></dt> |
---|
1767 | <dd><p>Returns a list of all operators for a space group, including those for |
---|
1768 | centering and a center of symmetry</p> |
---|
1769 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1770 | <col class="field-name" /> |
---|
1771 | <col class="field-body" /> |
---|
1772 | <tbody valign="top"> |
---|
1773 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SGData</strong> – from <a class="reference internal" href="#GSASIIspc.SpcGroup" title="GSASIIspc.SpcGroup"><tt class="xref py py-func docutils literal"><span class="pre">SpcGroup()</span></tt></a></td> |
---|
1774 | </tr> |
---|
1775 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(SGTextList,offsetList,symOpList,G2oprList) where<ul class="simple"> |
---|
1776 | <li>SGTextList: a list of strings with formatted and normalized |
---|
1777 | symmetry operators.</li> |
---|
1778 | <li>offsetList: a tuple of (dx,dy,dz) offsets that relate the GSAS-II |
---|
1779 | symmetry operation to the operator in SGTextList and symOpList. |
---|
1780 | these dx (etc.) values are added to the GSAS-II generated |
---|
1781 | positions to provide the positions that are generated |
---|
1782 | by the normalized symmetry operators.</li> |
---|
1783 | <li>symOpList: a list of tuples with the normalized symmetry |
---|
1784 | operations as (M,T) values |
---|
1785 | (see <tt class="docutils literal"><span class="pre">SGOps</span></tt> in the <a class="reference internal" href="GSASIIobj.html#sgdata-table"><em>Space Group object</em></a>)</li> |
---|
1786 | <li>G2oprList: The GSAS-II operations for each symmetry operation as |
---|
1787 | a tuple with (center,mult,opnum), where center is (0,0,0), (0.5,0,0), |
---|
1788 | (0.5,0.5,0.5),...; where mult is 1 or -1 for the center of symmetry |
---|
1789 | and opnum is the number for the symmetry operation, in <tt class="docutils literal"><span class="pre">SGOps</span></tt> |
---|
1790 | (starting with 0).</li> |
---|
1791 | </ul> |
---|
1792 | </td> |
---|
1793 | </tr> |
---|
1794 | </tbody> |
---|
1795 | </table> |
---|
1796 | </dd></dl> |
---|
1797 | |
---|
1798 | <dl class="function"> |
---|
1799 | <dt id="GSASIIspc.ApplyStringOps"> |
---|
1800 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">ApplyStringOps</tt><big>(</big><em>A</em>, <em>SGData</em>, <em>X</em>, <em>Uij=</em><span class="optional">[</span><span class="optional">]</span><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#ApplyStringOps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.ApplyStringOps" title="Permalink to this definition">¶</a></dt> |
---|
1801 | <dd><p>Needs a doc string</p> |
---|
1802 | </dd></dl> |
---|
1803 | |
---|
1804 | <dl class="function"> |
---|
1805 | <dt id="GSASIIspc.ElemPosition"> |
---|
1806 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">ElemPosition</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#ElemPosition"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.ElemPosition" title="Permalink to this definition">¶</a></dt> |
---|
1807 | <dd><p>Under development. |
---|
1808 | Object here is to return a list of symmetry element types and locations suitable |
---|
1809 | for say drawing them. |
---|
1810 | So far I have the element type... getting all possible locations without lookup may be impossible!</p> |
---|
1811 | </dd></dl> |
---|
1812 | |
---|
1813 | <dl class="function"> |
---|
1814 | <dt id="GSASIIspc.GenAtom"> |
---|
1815 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GenAtom</tt><big>(</big><em>XYZ</em>, <em>SGData</em>, <em>All=False</em>, <em>Uij=</em>, <span class="optional">[</span><span class="optional">]</span><em>Move=True</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GenAtom"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GenAtom" title="Permalink to this definition">¶</a></dt> |
---|
1816 | <dd><p>Generates the equivalent positions for a specified coordinate and space group</p> |
---|
1817 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1818 | <col class="field-name" /> |
---|
1819 | <col class="field-body" /> |
---|
1820 | <tbody valign="top"> |
---|
1821 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1822 | <li><strong>XYZ</strong> – an array, tuple or list containing 3 elements: x, y & z</li> |
---|
1823 | <li><strong>SGData</strong> – from <a class="reference internal" href="#GSASIIspc.SpcGroup" title="GSASIIspc.SpcGroup"><tt class="xref py py-func docutils literal"><span class="pre">SpcGroup()</span></tt></a></li> |
---|
1824 | <li><strong>All</strong> – True return all equivalent positions including duplicates; |
---|
1825 | False return only unique positions</li> |
---|
1826 | <li><strong>Uij</strong> – [U11,U22,U33,U12,U13,U23] or [] if no Uij</li> |
---|
1827 | <li><strong>Move</strong> – True move generated atom positions to be inside cell |
---|
1828 | False do not move atoms</li> |
---|
1829 | </ul> |
---|
1830 | </td> |
---|
1831 | </tr> |
---|
1832 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><p>[[XYZEquiv],Idup,[UijEquiv]]</p> |
---|
1833 | <ul class="simple"> |
---|
1834 | <li>[XYZEquiv] is list of equivalent positions (XYZ is first entry)</li> |
---|
1835 | <li>Idup = [-][C]SS where SS is the symmetry operator number (1-24), C (if not 0,0,0)</li> |
---|
1836 | <li>is centering operator number (1-4) and - is for inversion |
---|
1837 | Cell = unit cell translations needed to put new positions inside cell |
---|
1838 | [UijEquiv] - equivalent Uij; absent if no Uij given</li> |
---|
1839 | </ul> |
---|
1840 | </p> |
---|
1841 | </td> |
---|
1842 | </tr> |
---|
1843 | </tbody> |
---|
1844 | </table> |
---|
1845 | </dd></dl> |
---|
1846 | |
---|
1847 | <dl class="function"> |
---|
1848 | <dt id="GSASIIspc.GenHKLf"> |
---|
1849 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GenHKLf</tt><big>(</big><em>HKL</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GenHKLf"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GenHKLf" title="Permalink to this definition">¶</a></dt> |
---|
1850 | <dd><p>Uses old GSAS Fortran routine genhkl.for</p> |
---|
1851 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1852 | <col class="field-name" /> |
---|
1853 | <col class="field-body" /> |
---|
1854 | <tbody valign="top"> |
---|
1855 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1856 | <li><strong>HKL</strong> – [h,k,l] must be integral values for genhkl.for to work</li> |
---|
1857 | <li><strong>SGData</strong> – space group data obtained from SpcGroup</li> |
---|
1858 | </ul> |
---|
1859 | </td> |
---|
1860 | </tr> |
---|
1861 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><p>iabsnt,mulp,Uniq,phi</p> |
---|
1862 | <ul class="simple"> |
---|
1863 | <li>iabsnt = True if reflection is forbidden by symmetry</li> |
---|
1864 | <li>mulp = reflection multiplicity including Friedel pairs</li> |
---|
1865 | <li>Uniq = numpy array of equivalent hkl in descending order of h,k,l</li> |
---|
1866 | <li>phi = phase offset for each equivalent h,k,l</li> |
---|
1867 | </ul> |
---|
1868 | </p> |
---|
1869 | </td> |
---|
1870 | </tr> |
---|
1871 | </tbody> |
---|
1872 | </table> |
---|
1873 | </dd></dl> |
---|
1874 | |
---|
1875 | <dl class="function"> |
---|
1876 | <dt id="GSASIIspc.GetCSuinel"> |
---|
1877 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GetCSuinel</tt><big>(</big><em>siteSym</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GetCSuinel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GetCSuinel" title="Permalink to this definition">¶</a></dt> |
---|
1878 | <dd><p>returns Uij terms, multipliers, GUI flags & Uiso2Uij multipliers</p> |
---|
1879 | </dd></dl> |
---|
1880 | |
---|
1881 | <dl class="function"> |
---|
1882 | <dt id="GSASIIspc.GetCSxinel"> |
---|
1883 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GetCSxinel</tt><big>(</big><em>siteSym</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GetCSxinel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GetCSxinel" title="Permalink to this definition">¶</a></dt> |
---|
1884 | <dd><p>Needs a doc string</p> |
---|
1885 | </dd></dl> |
---|
1886 | |
---|
1887 | <dl class="function"> |
---|
1888 | <dt id="GSASIIspc.GetKNsym"> |
---|
1889 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GetKNsym</tt><big>(</big><em>key</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GetKNsym"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GetKNsym" title="Permalink to this definition">¶</a></dt> |
---|
1890 | <dd><p>Needs a doc string</p> |
---|
1891 | </dd></dl> |
---|
1892 | |
---|
1893 | <dl class="function"> |
---|
1894 | <dt id="GSASIIspc.GetNXUPQsym"> |
---|
1895 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GetNXUPQsym</tt><big>(</big><em>siteSym</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GetNXUPQsym"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GetNXUPQsym" title="Permalink to this definition">¶</a></dt> |
---|
1896 | <dd><p>The codes XUPQ are for lookup of symmetry constraints for position(X), thermal parm(U) & magnetic moments |
---|
1897 | (P&Q-not used in GSAS-II)</p> |
---|
1898 | </dd></dl> |
---|
1899 | |
---|
1900 | <dl class="function"> |
---|
1901 | <dt id="GSASIIspc.GetOprPtrName"> |
---|
1902 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">GetOprPtrName</tt><big>(</big><em>key</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#GetOprPtrName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.GetOprPtrName" title="Permalink to this definition">¶</a></dt> |
---|
1903 | <dd><p>Needs a doc string</p> |
---|
1904 | </dd></dl> |
---|
1905 | |
---|
1906 | <dl class="function"> |
---|
1907 | <dt id="GSASIIspc.HStrainNames"> |
---|
1908 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">HStrainNames</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#HStrainNames"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.HStrainNames" title="Permalink to this definition">¶</a></dt> |
---|
1909 | <dd><p>Needs a doc string</p> |
---|
1910 | </dd></dl> |
---|
1911 | |
---|
1912 | <dl class="function"> |
---|
1913 | <dt id="GSASIIspc.Latt2text"> |
---|
1914 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">Latt2text</tt><big>(</big><em>Latt</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#Latt2text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.Latt2text" title="Permalink to this definition">¶</a></dt> |
---|
1915 | <dd><p>From lattice type (‘P’,A’, etc.) returns ‘;’ delimited cell centering vectors</p> |
---|
1916 | </dd></dl> |
---|
1917 | |
---|
1918 | <dl class="function"> |
---|
1919 | <dt id="GSASIIspc.MT2text"> |
---|
1920 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">MT2text</tt><big>(</big><em>Opr</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#MT2text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.MT2text" title="Permalink to this definition">¶</a></dt> |
---|
1921 | <dd><p>From space group matrix/translation operator returns text version</p> |
---|
1922 | </dd></dl> |
---|
1923 | |
---|
1924 | <dl class="function"> |
---|
1925 | <dt id="GSASIIspc.MoveToUnitCell"> |
---|
1926 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">MoveToUnitCell</tt><big>(</big><em>xyz</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#MoveToUnitCell"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.MoveToUnitCell" title="Permalink to this definition">¶</a></dt> |
---|
1927 | <dd><p>Translates a set of coordinates so that all values are >=0 and < 1</p> |
---|
1928 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1929 | <col class="field-name" /> |
---|
1930 | <col class="field-body" /> |
---|
1931 | <tbody valign="top"> |
---|
1932 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>xyz</strong> – a list or numpy array of fractional coordinates</td> |
---|
1933 | </tr> |
---|
1934 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">XYZ - numpy array of new coordinates now 0 or greater and less than 1</td> |
---|
1935 | </tr> |
---|
1936 | </tbody> |
---|
1937 | </table> |
---|
1938 | </dd></dl> |
---|
1939 | |
---|
1940 | <dl class="function"> |
---|
1941 | <dt id="GSASIIspc.Muiso2Shkl"> |
---|
1942 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">Muiso2Shkl</tt><big>(</big><em>muiso</em>, <em>SGData</em>, <em>cell</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#Muiso2Shkl"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.Muiso2Shkl" title="Permalink to this definition">¶</a></dt> |
---|
1943 | <dd><p>this is to convert isotropic mustrain to generalized Shkls</p> |
---|
1944 | </dd></dl> |
---|
1945 | |
---|
1946 | <dl class="function"> |
---|
1947 | <dt id="GSASIIspc.MustrainCoeff"> |
---|
1948 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">MustrainCoeff</tt><big>(</big><em>HKL</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#MustrainCoeff"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.MustrainCoeff" title="Permalink to this definition">¶</a></dt> |
---|
1949 | <dd><p>Needs a doc string</p> |
---|
1950 | </dd></dl> |
---|
1951 | |
---|
1952 | <dl class="function"> |
---|
1953 | <dt id="GSASIIspc.MustrainNames"> |
---|
1954 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">MustrainNames</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#MustrainNames"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.MustrainNames" title="Permalink to this definition">¶</a></dt> |
---|
1955 | <dd><p>Needs a doc string</p> |
---|
1956 | </dd></dl> |
---|
1957 | |
---|
1958 | <dl class="function"> |
---|
1959 | <dt id="GSASIIspc.Opposite"> |
---|
1960 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">Opposite</tt><big>(</big><em>XYZ</em>, <em>toler=0.0002</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#Opposite"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.Opposite" title="Permalink to this definition">¶</a></dt> |
---|
1961 | <dd><dl class="docutils"> |
---|
1962 | <dt>Gives opposite corner, edge or face of unit cell for position within tolerance. </dt> |
---|
1963 | <dd>Result may be just outside the cell within tolerance</dd> |
---|
1964 | </dl> |
---|
1965 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1966 | <col class="field-name" /> |
---|
1967 | <col class="field-body" /> |
---|
1968 | <tbody valign="top"> |
---|
1969 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
1970 | <li><strong>XYZ</strong> – 0 >= np.array[x,y,z] > 1 as by MoveToUnitCell</li> |
---|
1971 | <li><strong>toler</strong> – unit cell fraction tolerance making opposite</li> |
---|
1972 | </ul> |
---|
1973 | </td> |
---|
1974 | </tr> |
---|
1975 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">XYZ: dict of opposite positions; key=unit cell & always contains XYZ</p> |
---|
1976 | </td> |
---|
1977 | </tr> |
---|
1978 | </tbody> |
---|
1979 | </table> |
---|
1980 | </dd></dl> |
---|
1981 | |
---|
1982 | <dl class="function"> |
---|
1983 | <dt id="GSASIIspc.SGErrors"> |
---|
1984 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SGErrors</tt><big>(</big><em>IErr</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SGErrors"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SGErrors" title="Permalink to this definition">¶</a></dt> |
---|
1985 | <dd><p>Interprets the error message code from SpcGroup. Used in SpaceGroup.</p> |
---|
1986 | <table class="docutils field-list" frame="void" rules="none"> |
---|
1987 | <col class="field-name" /> |
---|
1988 | <col class="field-body" /> |
---|
1989 | <tbody valign="top"> |
---|
1990 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>IErr</strong> – see SGError in <a class="reference internal" href="#GSASIIspc.SpcGroup" title="GSASIIspc.SpcGroup"><tt class="xref py py-func docutils literal"><span class="pre">SpcGroup()</span></tt></a></td> |
---|
1991 | </tr> |
---|
1992 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">ErrString - a string with the error message or “Unknown error”</td> |
---|
1993 | </tr> |
---|
1994 | </tbody> |
---|
1995 | </table> |
---|
1996 | </dd></dl> |
---|
1997 | |
---|
1998 | <dl class="function"> |
---|
1999 | <dt id="GSASIIspc.SGPrint"> |
---|
2000 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SGPrint</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SGPrint"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SGPrint" title="Permalink to this definition">¶</a></dt> |
---|
2001 | <dd><p>Print the output of SpcGroup in a nicely formatted way. Used in SpaceGroup</p> |
---|
2002 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2003 | <col class="field-name" /> |
---|
2004 | <col class="field-body" /> |
---|
2005 | <tbody valign="top"> |
---|
2006 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SGData</strong> – from <a class="reference internal" href="#GSASIIspc.SpcGroup" title="GSASIIspc.SpcGroup"><tt class="xref py py-func docutils literal"><span class="pre">SpcGroup()</span></tt></a></td> |
---|
2007 | </tr> |
---|
2008 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">SGText - list of strings with the space group details |
---|
2009 | SGTable - list of strings for each of the operations</td> |
---|
2010 | </tr> |
---|
2011 | </tbody> |
---|
2012 | </table> |
---|
2013 | </dd></dl> |
---|
2014 | |
---|
2015 | <dl class="function"> |
---|
2016 | <dt id="GSASIIspc.SGProd"> |
---|
2017 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SGProd</tt><big>(</big><em>OpA</em>, <em>OpB</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SGProd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SGProd" title="Permalink to this definition">¶</a></dt> |
---|
2018 | <dd><dl class="docutils"> |
---|
2019 | <dt>Form space group operator product. OpA & OpB are [M,V] pairs; </dt> |
---|
2020 | <dd>both must be of same dimension (3 or 4). Returns [M,V] pair</dd> |
---|
2021 | </dl> |
---|
2022 | </dd></dl> |
---|
2023 | |
---|
2024 | <dl class="function"> |
---|
2025 | <dt id="GSASIIspc.SGPtGroup"> |
---|
2026 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SGPtGroup</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SGPtGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SGPtGroup" title="Permalink to this definition">¶</a></dt> |
---|
2027 | <dd><p>Determine point group of the space group - done after space group symbol has |
---|
2028 | been evaluated by SpcGroup. Only short symbols are allowed</p> |
---|
2029 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2030 | <col class="field-name" /> |
---|
2031 | <col class="field-body" /> |
---|
2032 | <tbody valign="top"> |
---|
2033 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SGData</strong> – from :func SpcGroup</td> |
---|
2034 | </tr> |
---|
2035 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">SSGPtGrp & SSGKl (only defaults for Mono & Ortho)</td> |
---|
2036 | </tr> |
---|
2037 | </tbody> |
---|
2038 | </table> |
---|
2039 | </dd></dl> |
---|
2040 | |
---|
2041 | <dl class="function"> |
---|
2042 | <dt id="GSASIIspc.SGpolar"> |
---|
2043 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SGpolar</tt><big>(</big><em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SGpolar"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SGpolar" title="Permalink to this definition">¶</a></dt> |
---|
2044 | <dd><p>Determine identity of polar axes if any</p> |
---|
2045 | </dd></dl> |
---|
2046 | |
---|
2047 | <dl class="function"> |
---|
2048 | <dt id="GSASIIspc.SSGModCheck"> |
---|
2049 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSGModCheck</tt><big>(</big><em>Vec</em>, <em>modSymb</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSGModCheck"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSGModCheck" title="Permalink to this definition">¶</a></dt> |
---|
2050 | <dd><p>Checks modulation vector compatibility with supersymmetry space group symbol. |
---|
2051 | Superspace group symbol takes precidence & the vector will be modified accordingly</p> |
---|
2052 | </dd></dl> |
---|
2053 | |
---|
2054 | <dl class="function"> |
---|
2055 | <dt id="GSASIIspc.SSGPrint"> |
---|
2056 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSGPrint</tt><big>(</big><em>SGData</em>, <em>SSGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSGPrint"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSGPrint" title="Permalink to this definition">¶</a></dt> |
---|
2057 | <dd><p>Print the output of SSpcGroup in a nicely formatted way. Used in SSpaceGroup</p> |
---|
2058 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2059 | <col class="field-name" /> |
---|
2060 | <col class="field-body" /> |
---|
2061 | <tbody valign="top"> |
---|
2062 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2063 | <li><strong>SGData</strong> – space group data structure as defined in SpcGroup above.</li> |
---|
2064 | <li><strong>SSGData</strong> – from <a class="reference internal" href="#GSASIIspc.SSpcGroup" title="GSASIIspc.SSpcGroup"><tt class="xref py py-func docutils literal"><span class="pre">SSpcGroup()</span></tt></a></li> |
---|
2065 | </ul> |
---|
2066 | </td> |
---|
2067 | </tr> |
---|
2068 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">SSGText - list of strings with the superspace group details |
---|
2069 | SGTable - list of strings for each of the operations</p> |
---|
2070 | </td> |
---|
2071 | </tr> |
---|
2072 | </tbody> |
---|
2073 | </table> |
---|
2074 | </dd></dl> |
---|
2075 | |
---|
2076 | <dl class="function"> |
---|
2077 | <dt id="GSASIIspc.SSLatt2text"> |
---|
2078 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSLatt2text</tt><big>(</big><em>SSGCen</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSLatt2text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSLatt2text" title="Permalink to this definition">¶</a></dt> |
---|
2079 | <dd><p>Lattice centering vectors to text</p> |
---|
2080 | </dd></dl> |
---|
2081 | |
---|
2082 | <dl class="function"> |
---|
2083 | <dt id="GSASIIspc.SSMT2text"> |
---|
2084 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSMT2text</tt><big>(</big><em>Opr</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSMT2text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSMT2text" title="Permalink to this definition">¶</a></dt> |
---|
2085 | <dd><p>From superspace group matrix/translation operator returns text version</p> |
---|
2086 | </dd></dl> |
---|
2087 | |
---|
2088 | <dl class="function"> |
---|
2089 | <dt id="GSASIIspc.SSpaceGroup"> |
---|
2090 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSpaceGroup</tt><big>(</big><em>SGSymbol</em>, <em>SSymbol</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSpaceGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSpaceGroup" title="Permalink to this definition">¶</a></dt> |
---|
2091 | <dd><p>Print the output of SSpcGroup in a nicely formatted way.</p> |
---|
2092 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2093 | <col class="field-name" /> |
---|
2094 | <col class="field-body" /> |
---|
2095 | <tbody valign="top"> |
---|
2096 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2097 | <li><strong>SGSymbol</strong> – space group symbol with spaces between axial fields.</li> |
---|
2098 | <li><strong>SSymbol</strong> – superspace group symbol extension (string).</li> |
---|
2099 | </ul> |
---|
2100 | </td> |
---|
2101 | </tr> |
---|
2102 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">nothing</p> |
---|
2103 | </td> |
---|
2104 | </tr> |
---|
2105 | </tbody> |
---|
2106 | </table> |
---|
2107 | </dd></dl> |
---|
2108 | |
---|
2109 | <dl class="function"> |
---|
2110 | <dt id="GSASIIspc.SSpcGroup"> |
---|
2111 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SSpcGroup</tt><big>(</big><em>SGData</em>, <em>SSymbol</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SSpcGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SSpcGroup" title="Permalink to this definition">¶</a></dt> |
---|
2112 | <dd><p>Determines supersymmetry information from superspace group name; currently only for (3+1) superlattices</p> |
---|
2113 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2114 | <col class="field-name" /> |
---|
2115 | <col class="field-body" /> |
---|
2116 | <tbody valign="top"> |
---|
2117 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2118 | <li><strong>SGData</strong> – space group data structure as defined in SpcGroup above (see <a class="reference internal" href="GSASIIobj.html#sgdata-table"><em>SGData</em></a>).</li> |
---|
2119 | <li><strong>SSymbol</strong> – superspace group symbol extension (string) defining modulation direction & generator info.</li> |
---|
2120 | </ul> |
---|
2121 | </td> |
---|
2122 | </tr> |
---|
2123 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><p>(SSGError,SSGData)</p> |
---|
2124 | <ul> |
---|
2125 | <li><p class="first">SGError = 0 for no errors; >0 for errors (see SGErrors below for details)</p> |
---|
2126 | </li> |
---|
2127 | <li><p class="first">SSGData - is a dict (see <a class="reference internal" href="GSASIIobj.html#ssgdata-table"><em>Superspace Group object</em></a>) with entries:</p> |
---|
2128 | <blockquote> |
---|
2129 | <div><ul class="simple"> |
---|
2130 | <li>‘SSpGrp’: superspace group symbol extension to space group symbol, accidental spaces removed</li> |
---|
2131 | <li>‘SSGCen’: 4D cell centering vectors [0,0,0,0] at least</li> |
---|
2132 | <li>‘SSGOps’: 4D symmetry operations as [M,T] so that M*x+T = x’</li> |
---|
2133 | </ul> |
---|
2134 | </div></blockquote> |
---|
2135 | </li> |
---|
2136 | </ul> |
---|
2137 | </p> |
---|
2138 | </td> |
---|
2139 | </tr> |
---|
2140 | </tbody> |
---|
2141 | </table> |
---|
2142 | </dd></dl> |
---|
2143 | |
---|
2144 | <dl class="function"> |
---|
2145 | <dt id="GSASIIspc.SpaceGroup"> |
---|
2146 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SpaceGroup</tt><big>(</big><em>SGSymbol</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SpaceGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SpaceGroup" title="Permalink to this definition">¶</a></dt> |
---|
2147 | <dd><p>Print the output of SpcGroup in a nicely formatted way.</p> |
---|
2148 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2149 | <col class="field-name" /> |
---|
2150 | <col class="field-body" /> |
---|
2151 | <tbody valign="top"> |
---|
2152 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SGSymbol</strong> – space group symbol (string) with spaces between axial fields</td> |
---|
2153 | </tr> |
---|
2154 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">nothing</td> |
---|
2155 | </tr> |
---|
2156 | </tbody> |
---|
2157 | </table> |
---|
2158 | </dd></dl> |
---|
2159 | |
---|
2160 | <dl class="function"> |
---|
2161 | <dt id="GSASIIspc.SpcGroup"> |
---|
2162 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SpcGroup</tt><big>(</big><em>SGSymbol</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SpcGroup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SpcGroup" title="Permalink to this definition">¶</a></dt> |
---|
2163 | <dd><p>Determines cell and symmetry information from a short H-M space group name</p> |
---|
2164 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2165 | <col class="field-name" /> |
---|
2166 | <col class="field-body" /> |
---|
2167 | <tbody valign="top"> |
---|
2168 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SGSymbol</strong> – space group symbol (string) with spaces between axial fields</td> |
---|
2169 | </tr> |
---|
2170 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">(SGError,SGData)<ul> |
---|
2171 | <li>SGError = 0 for no errors; >0 for errors (see SGErrors below for details)</li> |
---|
2172 | <li>SGData - is a dict (see <a class="reference internal" href="GSASIIobj.html#sgdata-table"><em>Space Group object</em></a>) with entries:<blockquote> |
---|
2173 | <div><ul> |
---|
2174 | <li>‘SpGrp’: space group symbol, slightly cleaned up</li> |
---|
2175 | <li>‘SGLaue’: one of ‘-1’, ‘2/m’, ‘mmm’, ‘4/m’, ‘4/mmm’, ‘3R’, |
---|
2176 | ‘3mR’, ‘3’, ‘3m1’, ‘31m’, ‘6/m’, ‘6/mmm’, ‘m3’, ‘m3m’</li> |
---|
2177 | <li>‘SGInv’: boolean; True if centrosymmetric, False if not</li> |
---|
2178 | <li>‘SGLatt’: one of ‘P’, ‘A’, ‘B’, ‘C’, ‘I’, ‘F’, ‘R’</li> |
---|
2179 | <li>‘SGUniq’: one of ‘a’, ‘b’, ‘c’ if monoclinic, ‘’ otherwise</li> |
---|
2180 | <li>‘SGCen’: cell centering vectors [0,0,0] at least</li> |
---|
2181 | <li>‘SGOps’: symmetry operations as [M,T] so that M*x+T = x’</li> |
---|
2182 | <li>‘SGSys’: one of ‘triclinic’, ‘monoclinic’, ‘orthorhombic’, |
---|
2183 | ‘tetragonal’, ‘rhombohedral’, ‘trigonal’, ‘hexagonal’, ‘cubic’</li> |
---|
2184 | <li>‘SGPolax’: one of ‘ ‘, ‘x’, ‘y’, ‘x y’, ‘z’, ‘x z’, ‘y z’, |
---|
2185 | ‘xyz’, ‘111’ for arbitrary axes</li> |
---|
2186 | <li><dl class="first docutils"> |
---|
2187 | <dt>‘SGPtGrp’: one of 32 point group symbols (with some permutations), which</dt> |
---|
2188 | <dd>is filled by SGPtGroup, is external (KE) part of supersymmetry point group</dd> |
---|
2189 | </dl> |
---|
2190 | </li> |
---|
2191 | <li><dl class="first docutils"> |
---|
2192 | <dt>‘SSGKl’: default internal (Kl) part of supersymmetry point group; modified </dt> |
---|
2193 | <dd>in supersymmetry stuff depending on chosen modulation vector for Mono & Ortho</dd> |
---|
2194 | </dl> |
---|
2195 | </li> |
---|
2196 | </ul> |
---|
2197 | </div></blockquote> |
---|
2198 | </li> |
---|
2199 | </ul> |
---|
2200 | </td> |
---|
2201 | </tr> |
---|
2202 | </tbody> |
---|
2203 | </table> |
---|
2204 | </dd></dl> |
---|
2205 | |
---|
2206 | <dl class="function"> |
---|
2207 | <dt id="GSASIIspc.StandardizeSpcName"> |
---|
2208 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">StandardizeSpcName</tt><big>(</big><em>spcgroup</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#StandardizeSpcName"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.StandardizeSpcName" title="Permalink to this definition">¶</a></dt> |
---|
2209 | <dd><p>Accept a spacegroup name where spaces may have not been used |
---|
2210 | in the names according to the GSAS convention (spaces between symmetry |
---|
2211 | for each axis) and return the space group name as used in GSAS</p> |
---|
2212 | </dd></dl> |
---|
2213 | |
---|
2214 | <dl class="function"> |
---|
2215 | <dt id="GSASIIspc.StringOpsProd"> |
---|
2216 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">StringOpsProd</tt><big>(</big><em>A</em>, <em>B</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#StringOpsProd"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.StringOpsProd" title="Permalink to this definition">¶</a></dt> |
---|
2217 | <dd><p>Find A*B where A & B are in strings ‘-‘ + ‘100*c+n’ + ‘+ijk’ |
---|
2218 | where ‘-‘ indicates inversion, c(>0) is the cell centering operator, |
---|
2219 | n is operator number from SgOps and ijk are unit cell translations (each may be <0). |
---|
2220 | Should return resultant string - C. SGData - dictionary using entries:</p> |
---|
2221 | <blockquote> |
---|
2222 | <div><ul class="simple"> |
---|
2223 | <li>‘SGCen’: cell centering vectors [0,0,0] at least</li> |
---|
2224 | <li>‘SGOps’: symmetry operations as [M,T] so that M*x+T = x’</li> |
---|
2225 | </ul> |
---|
2226 | </div></blockquote> |
---|
2227 | </dd></dl> |
---|
2228 | |
---|
2229 | <dl class="function"> |
---|
2230 | <dt id="GSASIIspc.SytSym"> |
---|
2231 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">SytSym</tt><big>(</big><em>XYZ</em>, <em>SGData</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#SytSym"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.SytSym" title="Permalink to this definition">¶</a></dt> |
---|
2232 | <dd><p>Generates the number of equivalent positions and a site symmetry code for a specified coordinate and space group</p> |
---|
2233 | <table class="docutils field-list" frame="void" rules="none"> |
---|
2234 | <col class="field-name" /> |
---|
2235 | <col class="field-body" /> |
---|
2236 | <tbody valign="top"> |
---|
2237 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> |
---|
2238 | <li><strong>XYZ</strong> – an array, tuple or list containing 3 elements: x, y & z</li> |
---|
2239 | <li><strong>SGData</strong> – from SpcGroup</li> |
---|
2240 | </ul> |
---|
2241 | </td> |
---|
2242 | </tr> |
---|
2243 | <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">a two element tuple:</p> |
---|
2244 | <ul class="last simple"> |
---|
2245 | <li>The 1st element is a code for the site symmetry (see GetKNsym)</li> |
---|
2246 | <li>The 2nd element is the site multiplicity</li> |
---|
2247 | </ul> |
---|
2248 | </td> |
---|
2249 | </tr> |
---|
2250 | </tbody> |
---|
2251 | </table> |
---|
2252 | </dd></dl> |
---|
2253 | |
---|
2254 | <dl class="data"> |
---|
2255 | <dt id="GSASIIspc.selftestlist"> |
---|
2256 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">selftestlist</tt><em class="property"> = [<function test0 at 0x109992320>, <function test1 at 0x109992398>, <function test2 at 0x109992410>, <function test3 at 0x109992488>]</em><a class="headerlink" href="#GSASIIspc.selftestlist" title="Permalink to this definition">¶</a></dt> |
---|
2257 | <dd><p>Defines a list of self-tests</p> |
---|
2258 | </dd></dl> |
---|
2259 | |
---|
2260 | <dl class="data"> |
---|
2261 | <dt id="GSASIIspc.spglist"> |
---|
2262 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">spglist</tt><em class="property"> = {'P6/mmm': ('P 3', 'P 31', 'P 32', 'P -3', 'P 3 1 2', 'P 3 2 1', 'P 31 1 2', 'P 31 2 1', 'P 32 1 2', 'P 32 2 1', 'P 3 m 1', 'P 3 1 m', 'P 3 c 1', 'P 3 1 c', 'P -3 1 m', 'P -3 1 c', 'P -3 m 1', 'P -3 c 1', 'P 6', 'P 61', 'P 65', 'P 62', 'P 64', 'P 63', 'P -6', 'P 6/m', 'P 63/m', 'P 6 2 2', 'P 61 2 2', 'P 65 2 2', 'P 62 2 2', 'P 64 2 2', 'P 63 2 2', 'P 6 m m', 'P 6 c c', 'P 63 c m', 'P 63 m c', 'P -6 m 2', 'P -6 c 2', 'P -6 2 m', 'P -6 2 c', 'P 6/m m m', 'P 6/m c c', 'P 63/m c m', 'P 63/m m c'), 'P1': ('P 1', 'P -1'), 'Immm': ('I 2 2 2', 'I 21 21 21', 'I m m 2', 'I m 2 m', 'I 2 m m', 'I b a 2', 'I 2 c b', 'I c 2 a', 'I m a 2', 'I 2 m b', 'I c 2 m', 'I m 2 a', 'I b m 2', 'I 2 c m', 'I m m m', 'I b a m', 'I m c b', 'I c m a', 'I b c a', 'I c a b', 'I m m a', 'I b m m ', 'I m c m', 'I m a m', 'I m m b', 'I c m m'), 'Pm3m': ('P 2 3', 'P 21 3', 'P m 3', 'P n 3', 'P a 3', 'P 4 3 2', 'P 42 3 2', 'P 43 3 2', 'P 41 3 2', 'P -4 3 m', 'P -4 3 n', 'P m 3 m', 'P n 3 n', 'P m 3 n', 'P n 3 m'), 'Pmmm': ('P 2 2 2', 'P 2 2 21', 'P 21 2 2', 'P 2 21 2', 'P 21 21 2', 'P 2 21 21', 'P 21 2 21', 'P 21 21 21', 'P m m 2', 'P 2 m m', 'P m 2 m', 'P m c 21', 'P 21 m a', 'P b 21 m', 'P m 21 b', 'P c m 21', 'P 21 a m', 'P c c 2', 'P 2 a a', 'P b 2 b', 'P m a 2', 'P 2 m b', 'P c 2 m', 'P m 2 a', 'P b m 2', 'P 2 c m', 'P c a 21', 'P 21 a b', 'P c 21 b', 'P b 21 a', 'P b c 21', 'P 21 c a', 'P n c 2', 'P 2 n a', 'P b 2 n', 'P n 2 b', 'P c n 2', 'P 2 a n', 'P m n 21', 'P 21 m n', 'P n 21 m', 'P m 21 n', 'P n m 21', 'P 21 n m', 'P b a 2', 'P 2 c b', 'P c 2 a', 'P n a 21', 'P 21 n b', 'P c 21 n', 'P n 21 a', 'P b n 21', 'P 21 c n', 'P n n 2', 'P 2 n n', 'P n 2 n', 'P m m m', 'P n n n', 'P c c m', 'P m a a', 'P b m b', 'P b a n', 'P n c b', 'P c n a', 'P m m a', 'P b m m', 'P m c m', 'P m a m', 'P m m b', 'P c m m', 'P n n a', 'P b n n', 'P n c n', 'P n a n', 'P n n b', 'P c n n', 'P m n a', 'P b m n', 'P n c m', 'P m a n', 'P n m b', 'P c n m', 'P c c a', 'P b a a', 'P b c b', 'P b a b', 'P c c b', 'P c a a', 'P b a m', 'P m c b', 'P c m a', 'P c c n', 'P n a a', 'P b n b', 'P b c m', 'P m c a', 'P b m a', 'P c m b', 'P c a m', 'P m a b', 'P n n m', 'P m n n', 'P n m n', 'P m m n', 'P n m m', 'P m n m', 'P b c n', 'P n c a', 'P b n a', 'P c n b', 'P c a n', 'P n a b', 'P b c a', 'P c a b', 'P n m a', 'P b n m', 'P m c n', 'P n a m', 'P m n b', 'P c m n'), 'P4/mmm': ('P 4', 'P 41', 'P 42', 'P 43', 'P -4', 'P 4/m', 'P 42/m', 'P 4/n', 'P 42/n', 'P 4 2 2', 'P 4 21 2', 'P 41 2 2', 'P 41 21 2', 'P 42 2 2', 'P 42 21 2', 'P 43 2 2', 'P 43 21 2', 'P 4 m m', 'P 4 b m', 'P 42 c m', 'P 42 n m', 'P 4 c c', 'P 4 n c', 'P 42 m c', 'P 42 b c', 'P -4 2 m', 'P -4 2 c', 'P -4 21 m', 'P -4 21 c', 'P -4 m 2', 'P -4 c 2', 'P -4 b 2', 'P -4 n 2', 'P 4/m m m', 'P 4/m c c', 'P 4/n b m', 'P 4/n n c', 'P 4/m b m', 'P 4/m n c', 'P 4/n m m', 'P 4/n c c', 'P 42/m m c', 'P 42/m c m', 'P 42/n b c', 'P 42/n n m', 'P 42/m b c', 'P 42/m n m', 'P 42/n m c', 'P 42/n c m'), 'I4/mmm': ('I 4', 'I 41', 'I -4', 'I 4/m', 'I 41/a', 'I 4 2 2', 'I 41 2 2', 'I 4 m m', 'I 4 c m', 'I 41 m d', 'I 41 c d', 'I -4 m 2', 'I -4 c 2', 'I -4 2 m', 'I -4 2 d', 'I 4/m m m', 'I 4/m c m', 'I 41/a m d', 'I 41/a c d'), 'P2/m': ('P 2', 'P 21', 'P m', 'P a', 'P c', 'P n', 'P 2/m', 'P 21/m', 'P 2/c', 'P 2/a', 'P 2/n', 'P 21/c', 'P 21/a', 'P 21/n'), 'Fm3m': ('F 2 3', 'F m -3', 'F d -3', 'F 4 3 2', 'F 41 3 2', 'F -4 3 m', 'F -4 3 c', 'F m -3 m', 'F m 3 m', 'F m -3 c', 'F d -3 m', 'F d -3 c'), 'Fmmm': ('F 2 2 2', 'F m m m', 'F d d d', 'F m m 2', 'F m 2 m', 'F 2 m m', 'F d d 2', 'F d 2 d', 'F 2 d d'), 'Im3m': ('I 2 3', 'I 21 3', 'I m -3', 'I a -3', 'I 4 3 2', 'I 41 3 2', 'I -4 3 m', 'I -4 3 d', 'I m -3 m', 'I m 3 m', 'I a -3 d'), 'Cmmm': ('C 2 2 21', 'C 2 2 2', 'C m m 2', 'C m c 21', 'C c m 21', 'C c c 2', 'C m 2 m', 'C 2 m m', 'C m 2 a', 'C 2 m b', 'C c 2 m', 'C 2 c m', 'C c 2 a', 'C 2 c b', 'C m c m', 'C m c a', 'C c m b', 'C m m m', 'C c c m', 'C m m a', 'C m m b', 'C c c a', 'C c c b'), 'C2/m': ('C 2', 'C m', 'C c', 'C n', 'C 2/m', 'C 2/c', 'C 2/n'), 'R3-H': ('R 3', 'R -3', 'R 3 2', 'R 3 m', 'R 3 c', 'R -3 m', 'R -3 c')}</em><a class="headerlink" href="#GSASIIspc.spglist" title="Permalink to this definition">¶</a></dt> |
---|
2263 | <dd><p>A dictionary of space groups as ordered and named in the pre-2002 International |
---|
2264 | Tables Volume A, except that spaces are used following the GSAS convention to |
---|
2265 | separate the different crystallographic directions. |
---|
2266 | Note that the symmetry codes here will recognize many non-standard space group |
---|
2267 | symbols with different settings. They are ordered by Laue group</p> |
---|
2268 | </dd></dl> |
---|
2269 | |
---|
2270 | <dl class="function"> |
---|
2271 | <dt id="GSASIIspc.splitSSsym"> |
---|
2272 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">splitSSsym</tt><big>(</big><em>SSymbol</em><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#splitSSsym"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.splitSSsym" title="Permalink to this definition">¶</a></dt> |
---|
2273 | <dd><p>Splits supersymmetry symbol into two lists of strings</p> |
---|
2274 | </dd></dl> |
---|
2275 | |
---|
2276 | <dl class="data"> |
---|
2277 | <dt id="GSASIIspc.ssdict"> |
---|
2278 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">ssdict</tt><em class="property"> = {'F m 2 m': ['(0b0)', '(0b0)0ss', '(0b0)ss0', '(0b0)s0s', '(0b1)', '(0b1)s0s', '(0b1)0ss', '(1b0)', '(1b0)s0s', '(1b0)ss0', '(00g)', '(00g)s00', '(01g)', '(01g)s00', '(a00)', '(a00)00s', '(a10)', '(a10)00s'], 'P m 2 m': ['(0b0)', '(0b0)ss0', '(0b0)0ss', '(0b0)s0s', '(0b1/2)', '(0b1/2)ss0', '(1/2b0)', '(1/2b0)0ss', '(1/2b1/2)', '(00g)', '(00g)s00', '(1/20g)', '(01/2g)', '(01/2g)s00', '(1/21/2g)', '(a00)', '(a00)0s0', '(a01/2)', '(a01/2)0s0', '(a1/20)', '(a1/21/2)'], 'P n n a': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s', '(a1/21/2)', '(1/2b1/2)'], 'P m 2 a': ['(0b0)', '(0b0)s0s', '(0b0)ss0', '(0b0)0ss', '(0b1/2)', '(0b1/2)s0s', '(01/2g)', '(01/2g)s00', '(a1/20)', '(a00)', '(00g)', '(00g)0s0', '(a01/2)', '(a1/21/2)'], 'P n n m': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s'], 'B b a 2': ['(0b0)', '(0b1)', '(00g)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(a00)', '(a00)0s0'], 'P c m a': ['(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s', '(a00)', '(a00)0s0', '(a1/20)', '(00g)', '(00g)0s0', '(01/2g)'], 'P c m b': ['(0b0)', '(0b0)s00', '(00g)', '(00g)0s0', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(1/2b0)', '(1/20g)', '(1/20g)0s0'], 'I 41 c d': ['(00g)', '(00g)ss0'], 'P 4 b m': ['(00g)', '(00g)ss0', '(00g)0ss', '(00g)s0s', '(1/21/2g)qq0', '(1/21/2g)qqs'], 'P c m n': ['(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P 4/n m m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s'], 'A 21 a m': ['(a00)', '(a00)s0s', '(a01)', '(a01)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'C c c a': ['(00g)', '(00g)s00', '(10g)', '(01g)', '(10g)s00', '(01g)s00', '(a00)', '(a00)s00', '(a00)ss0', '(a00)0s0', '(0b0)', '(0b0)s00', '(0b0)ss0', '(0b0)0s0'], 'C c c b': ['(00g)', '(00g)ss0', '(01g)', '(10g)', '(01g)s00', '(10g)s00', '(0b0)', '(0b0)s00', '(0b0)ss0', '(0b0)0s0', '(a00)', '(a00)s00', '(a00)ss0', '(a00)0s0'], 'I 41 m d': ['(00g)', '(00g)ss0'], 'C c c m': ['(00g)', '(00g)s00', '(10g)', '(10g)s00', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00'], 'F 2 d d': ['(a00)', '(a00)s0s', '(a00)ss0', '(00g)', '(0b0)'], 'P m a b': ['(a00)', '(a00)00s', '(0b0)', '(0b0)s00', '(00g)', '(00g)0s0', '(00g)s0s', '(00g)s00', '(a01/2)', '(0b1/2)', '(0b1/2)s00'], 'P n n 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(1/21/2g)qq0', '(a00)', '(a1/21/2)0q0', '(a1/21/2)00q', '(0b0)', '(1/2b1/2)q00', '(1/2b1/2)00q'], 'B b 2 b': ['(0b0)', '(0b0)0ss', '(0b0)ss0', '(0b1)', '(0b1)0ss', '(0b1)ss0', '(1b0)', '(1b0)0ss', '(1b0)ss0', '(a00)', '(a00)00s', '(00g)', '(00g)s00'], 'B b a b': ['(0b0)', '(0b0)s00', '(1b0)', '(0b1)', '(1b0)s00', '(0b1)s00', '(a00)', '(a00)s00', '(a00)ss0', '(a00)0s0', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0'], 'P -3': ['(00g)', '(1/31/3g)'], 'P -1': ['(abg)'], 'P -6': ['(00g)'], 'C c c 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(10g)', '(10g)s0s', '(10g)0ss', '(01g)', '(01g)s0s', '(01g)0ss', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P -4': ['(00g)', '(1/21/2g)'], 'B 2 m b': ['(0b0)', '(1b0)', '(a00)', '(a00)ss0', '(a00)0ss', '(a00)s0s', '(00g)', '(00g)0s0'], 'C m 2 a': ['(00g)', '(00g)s00', '(01g)', '(01g)s00', '(0b0)', '(0b0)0ss', '(0b0)s0s', '(0b0)ss0', '(0b1/2)', '(0b1/2)ss0', '(a00)', '(a00)00s', '(a01/2)'], 'P m c b': ['(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(1/2b0)', '(00g)', '(00g)s00', '(1/20g)'], 'P 63/m m c': ['(00g)', '(00g)00ss'], 'P m c m': ['(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(00g)', '(00g)s00', '(1/2b0)', '(1/2b0)00s', '(a1/20)', '(a1/20)00s', '(01/2g)', '(01/2g)s00', '(a01/2)', '(a1/21/2)'], 'C m 2 m': ['(00g)', '(00g)s00', '(10g)', '(10g)s00', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)ss0', '(0b1/2)', '(0b1/2)ss0', '(a00)', '(a00)00s', '(a01/2)'], 'P m c n': ['(00g)', '(00g)s00', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P 21 c a': ['(a00)', '(a00)ss0', '(a1/20)', '(a01/2)', '(00g)', '(00g)0s0', '(1/20g)', '(0b0)', '(0b0)00s', '(0b1/2)'], 'P b n m': ['(00g)', '(00g)s00', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s'], 'P b n b': ['(0b0)', '(0b0)s00', '(0b0)00s', '(a00)', '(a00)00s', '(00g)', '(00g)s00'], 'P 21 c n': ['(a00)', '(a00)ss0', '(a1/21/2)0qq', '(0b0)', '(00g)'], 'P m a n': ['(0b0)', '(0b0)s00', '(a00)', '(a00)0s0', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(0b1/2)', '(0b1/2)s00', '(a01/2)'], 'P n m m': ['(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(00g)', '(00g)0s0', '(1/20g)', '(1/20g)0s0', '(0b0)', '(0b0)00s', '(1/2b0)', '(1/2b0)00s'], 'P n m n': ['(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P n m a': ['(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(0b0)', '(0b0)00s'], 'P n m b': ['(00g)', '(00g)0s0', '(0b0)', '(0b0)00s', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(1/20g)', '(1/20g)0s0', '(1/2b0)'], 'I -4': ['(00g)'], 'P c m m': ['(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(00g)', '(00g)0s0', '(0b0)', '(0b0)00s', '(1/2b0)', '(1/2b0)00s', '(1/20g)', '(1/20g)0s0', '(0b1/2)', '(1/2b1/2)'], 'R 3': ['(00g)', '(00g)t'], 'P 21 m n': ['(a00)', '(a00)ss0', '(a01/2)', '(a01/2)ss0', '(0b0)', '(00g)', '(00g)0s0', '(0b1/2)'], 'A c a a': ['(a00)', '(a00)ss0', '(a01)', '(a10)', '(a01)s00', '(a10)s00', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(0b0)', '(0b0)s00', '(0b0)ss0', '(0b0)0s0'], 'A c a m': ['(a00)', '(a00)00s', '(a01)', '(a01)00s', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0'], 'P 21 m a': ['(a00)', '(a00)ss0', '(a01/2)', '(a01/2)ss0', '(a1/20)', '(a1/21/2)', '(0b0)', '(0b0)00s', '(1/2b0)', '(00g)', '(00g)0s0', '(01/2g)'], 'I 4/m m m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s'], 'P 21 2 2': ['(a00)', '(a01/2)', '(a1/20)', '(a1/21/2)', '(0b0)', '(0b0)0s0', '(1/2b0)', '(00g)', '(00g)00s', '(1/20g)'], 'C m c 21': ['(00g)', '(00g)s0s', '(10g)', '(10g)s0s', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P 42/m n m': ['(00g)', '(00g)00ss'], 'P 4/n b m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s', '(1/21/2g)', '(1/21/2g)00ss'], 'P 4 m m': ['(00g)', '(00g)ss0', '(00g)0ss', '(00g)s0s', '(1/21/2g)', '(1/21/2g)0ss'], 'R -3 m': ['(00g)', '(00g)0s'], 'R -3 c': ['(00g)'], 'P 21/m': ['(a0g)', '(a0g)0s', '(0b0)', '(0b0)s0', '(1/2b0)', '(0b1/2)'], 'P 21/n': ['(a0g)', '(0b0)', '(1/2b1/2)'], 'P 21/a': ['(a0g)', '(0b0)', '(0b1/2)'], 'P 21/c': ['(a0g)', '(0b0)', '(1/2b0)'], 'I m m 2': ['(00g)', '(00g)ss0', '(00g)s0s', '(00g)0ss', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'B 2 c m': ['(0b0)', '(0b0)00s', '(1b0)', '(1b0)00s', '(a00)', '(a00)ss0', '(a00)0ss', '(a00)s0s', '(a1/20)', '(a1/20)s0s', '(00g)', '(00g)0s0', '(01/2g)'], 'B 2 c b': ['(0b0)', '(1b0)', '(a00)', '(a00)ss0', '(a00)0ss', '(a00)s0s', '(00g)', '(00g)0s0'], 'P c 21 b': ['(0b0)', '(0b0)ss0', '(1/2b0)', '(0b1/2)', '(00g)', '(00g)s00', '(1/20g)', '(a00)', '(a00)00s', '(a01/2)'], 'P c 21 n': ['(0b0)', '(0b0)ss0', '(1/2b1/2)q0q', '(a00)', '(00g)'], 'P 42/m m c': ['(00g)', '(00g)s0s0', '(1/21/2g)'], 'P 65 2 2': ['(00g)'], 'P b 2 b': ['(0b0)', '(0b0)0ss', '(0b0)ss0', '(1/2b0)', '(0b1/2)', '(1/2b1/2)', '(00g)', '(00g)s00', '(1/20g)', '(a00)', '(a00)00s', '(a01/2)'], 'P 42 21 2': ['(00g)', '(00g)q00'], 'P b 2 n': ['(0b0)', '(0b0)ss0', '(0b1/2)', '(a00)', '(00g)', '(00g)s00', '(a01/2)', '(1/21/2g)0ss'], 'B m m 2': ['(0b0)', '(0b0)s00', '(0b1)', '(0b1)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)ss0', '(01/2g)', '(01/2g)s0s', '(a00)', '(a00)0s0', '(a1/20)'], 'P 3 m 1': ['(00g)', '(00g)0s0'], 'P 42/m': ['(00g)', '(1/21/2g)'], 'P m c 21': ['(00g)', '(00g)s0s', '(01/2g)', '(01/2g)s0s', '(1/20g)', '(1/21/2g)', '(a00)', '(a00)0s0', '(a1/20)', '(0b0)', '(0b0)s00', '(0b1/2)'], 'P 42/n': ['(00g)', '(1/21/2g)'], 'A 21 2 2': ['(a00)', '(a10)', '(a01)', '(0b0)', '(0b0)0s0', '(00g)', '(00g)00s'], 'B m m m': ['(0b0)', '(0b0)00s', '(0b0)s0s', '(0b1)', '(0b1)00s', '(0b1)s0s', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(a1/20)', '(a1/20)00s'], 'P -6 2 c': ['(00g)'], 'B m m b': ['(0b0)', '(0b0)s00', '(1b0)', '(1b0)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00'], 'P 2 n n': ['(a00)', '(a00)ss0', '(a00)s0s', '(a1/21/2)0qq', '(0b0)', '(1/2b1/2)q00', '(1/2b1/2)00q', '(00g)', '(1/21/2g)0q0', '(1/21/2g)q00'], 'P 2 n a': ['(a00)', '(a00)s0s', '(a1/20)', '(00g)', '(0b0)', '(0b0)00s', '(01/2g)', '(1/2b1/2)ss0'], 'I 41/a c d': ['(00g)', '(00g)s0s0'], 'A c 2 m': ['(a00)', '(a00)00s', '(a10)', '(a10)00s', '(0b0)', '(0b0)ss0', '(0b0)s0s', '(0b0)0ss', '(1/2b0)', '(1/2b0)0ss', '(00g)', '(00g)s00', '(1/20g)'], 'A c 2 a': ['(a00)', '(a10)', '(0b0)', '(0b0)ss0', '(0b0)s0s', '(0b0)0ss', '(00g)', '(00g)s00'], 'F 2 m m': ['(a00)', '(a00)ss0', '(a00)s0s', '(a00)0ss', '(a10)', '(a10)0ss', '(a10)ss0', '(a01)', '(a01)0ss', '(a01)s0s', '(0b0)', '(0b0)00s', '(1b0)', '(1b0)00s', '(00g)', '(00g)0s0', '(10g)', '(10g)0s0'], 'P 31 1 2': ['(00g)', '(1/31/3g)'], 'P 41 21 2': ['(00g)'], 'P b m 2': ['(00g)', '(00g)s0s', '(00g)ss0', '(00g)0ss', '(1/20g)', '(1/20g)s0s', '(a01/2)', '(a01/2)s00', '(0b1/2)', '(0b0)', '(a00)', '(a00)0s0', '(1/2b0)', '(1/2b1/2)'], 'C 2/m': ['(a0g)', '(a0g)0s', '(0b0)', '(0b0)s0', '(0b1/2)'], 'C 2/n': ['(a0g)', '(0b0)', '(0b0)s0'], 'C 2/c': ['(a0g)', '(0b0)', '(0b0)s0'], 'P 6/m c c': ['(00g)', '(00g)s00s'], 'I c a b': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P 63 m c': ['(00g)', '(00g)0ss'], 'P 2 m b': ['(a00)', '(a00)s0s', '(a00)ss0', '(a00)0ss', '(a01/2)', '(a01/2)s0s', '(1/20g)', '(1/20g)s00', '(1/2b0)', '(0b0)', '(00g)', '(00g)0s0', '(0b1/2)', '(1/2b1/2)'], 'F d 2 d': ['(0b0)', '(0b0)0ss', '(0b0)ss0', '(a00)', '(00g)'], 'I m 2 m': ['(0b0)', '(0b0)s0s', '(0b0)0ss', '(0b0)ss0', '(00g)', '(00g)s00', '(a00)', '(a00)00s'], 'I m 2 a': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P 2 m m': ['(a00)', '(a00)ss0', '(a00)s0s', '(a00)0ss', '(a01/2)', '(a01/2)ss0', '(a1/20)', '(a1/20)s0s', '(a1/21/2)', '(0b0)', '(0b0)00s', '(1/2b0)', '(0b1/2)', '(0b1/2)00s', '(1/2b1/2)', '(00g)', '(00g)0s0', '(01/2g)', '(01/2g)0s0', '(1/20g)', '(1/21/2g)'], 'P b m a': ['(0b0)', '(0b0)00s', '(a00)', '(a00)0s0', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(0b1/2)', '(a01/2)', '(a01/2)0s0'], 'P b m b': ['(0b0)', '(0b0)00s', '(0b0)s00', '(0b1/2)', '(1/2b0)', '(1/2b1/2)', '(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(1/20g)', '(1/20g)0s0', '(a00)', '(a00)00s', '(a00)0s0', '(a00)0ss', '(a01/2)', '(a01/2)0s0'], 'P b m m': ['(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(0b0)', '(0b0)00s', '(a01/2)', '(a01/2)0s0', '(1/20g)', '(1/20g)0s0', '(1/2b0)', '(1/2b0)00s', '(01/2g)', '(1/21/2g)'], 'P b m n': ['(a00)', '(a00)0s0', '(0b0)', '(0b0)s00', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(a01/2)', '(a01/2)0s0', '(0b1/2)'], 'I m a 2': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P c m 21': ['(00g)', '(00g)0ss', '(1/20g)', '(1/20g)0ss', '(01/2g)', '(1/21/2g)', '(0b0)', '(0b0)s00', '(1/2b0)', '(a00)', '(a00)0s0', '(a01/2)'], 'P c a b': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P c': ['(a0g)', '(a1/2g)', '(0b0)', '(1/2b0)'], 'P a': ['(a0g)', '(a1/2g)', '(0b0)', '(0b1/2)'], 'I 4 c m': ['(00g)', '(00g)ss0', '(00g)0ss', '(00g)s0s'], 'I 41/a m d': ['(00g)', '(00g)s0s0'], 'I m a m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P n': ['(a0g)', '(a1/2g)', '(0b0)', '(1/2b1/2)'], 'P m': ['(a0g)', '(a0g)s', '(a1/2g)', '(0b0)', '(1/2b0)', '(0b1/2)'], 'I 4 2 2': ['(00g)', '(00g)q00', '(00g)s00'], 'P 2 21 2': ['(0b0)', '(0b1/2)', '(1/2b0)', '(1/2b1/2)', '(00g)', '(00g)00s', '(1/20g)', '(a00)', '(a00)s00', '(a1/20)'], 'I b a 2': ['(00g)', '(00g)ss0', '(00g)s0s', '(00g)0ss', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P 42/n b c': ['(00g)', '(00g)s0s0', '(1/21/2g)'], 'P 3': ['(00g)', '(00g)t', '(1/31/3g)'], 'P 2': ['(a0g)', '(a1/2g)', '(0b0)', '(0b0)s', '(1/2b0)', '(0b1/2)'], 'P 1': ['(abg)'], 'P 6': ['(00g)', '(00g)h', '(00g)t', '(00g)s'], 'P 4': ['(00g)', '(00g)q', '(00g)s', '(1/21/2g)', '(1/21/2g)q'], 'P 4/m c c': ['(00g)', '(00g)s0s0', '(1/21/2g)'], 'P 63': ['(00g)', '(00g)h'], 'P -3 c 1': ['(00g)'], 'I b a m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P -4 2 m': ['(00g)', '(00g)0ss', '(1/21/2g)', '(1/21/2g)0ss'], 'P -4 2 c': ['(00g)', '(1/21/2g)'], 'B m a b': ['(0b0)', '(0b0)s00', '(1b0)', '(1b0)s00', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s'], 'I 2 2 2': ['(00g)', '(00g)00s', '(a00)', '(a00)s00', '(0b0)', '(0b0)0s0'], 'P c n m': ['(a00)', '(a00)00s', '(00g)', '(00g)s00', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(a1/20)', '(a1/20)00s', '(01/2g)'], 'P c n b': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P c n a': ['(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s', '(1/2b1/2)', '(00g)', '(00g)s00', '(01/2g)', '(a00)', '(a00)00s', '(a1/20)'], 'B m a m': ['(0b0)', '(0b0)s00', '(0b0)s0s', '(1b0)', '(1b0)s00', '(1b0)s0s', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(a1/20)', '(a1/20)00s'], 'P 6 2 2': ['(00g)', '(00g)h00', '(00g)t00', '(00g)s00'], 'P 4/n c c': ['(00g)', '(00g)s0s0'], 'P n n b': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s', '(a1/21/2)', '(1/2b1/2)'], 'P m c a': ['(a00)', '(a00)0s0', '(00g)', '(00g)s00', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(a1/20)', '(01/2g)', '(01/2g)s00'], 'P 2 c b': ['(a00)', '(a00)ss0', '(a00)s0s', '(a00)0ss', '(a1/21/2)0qq', '(0b0)', '(1/2b0)', '(00g)', '(1/20g)'], 'P 4/m n c': ['(00g)', '(00g)s0s0'], 'I m m m': ['(00g)', '(00g)s00', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)ss0', '(0b0)', '(0b0)s00', '(0b0)ss0'], 'P 42/n m c': ['(00g)', '(00g)s0s0'], 'P 63 c m': ['(00g)', '(00g)0ss'], 'P n a a': ['(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P n a b': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'A c m m': ['(a00)', '(a00)00s', '(a00)0ss', '(a01)', '(a01)00s', '(a01)0ss', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(1/20g)', '(1/20g)0s0'], 'P n a m': ['(00g)', '(00g)0s0', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s'], 'P n a n': ['(0b0)', '(0b0)s00', '(0b0)00s', '(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(1/21/2g)', '(a1/21/2)'], 'B m a 2': ['(0b0)', '(0b0)s00', '(0b1)', '(0b1)s00', '(00g)', '(00g)s0s', '(00g)0ss', '(00g)ss0', '(01/2g)', '(01/2g)ss0', '(a00)', '(a00)00s', '(a1/20)'], 'P -6 2 m': ['(00g)', '(00g)00s'], 'P c n 2': ['(00g)', '(00g)s0s', '(01/2g)', '(a00)', '(0b0)', '(0b0)s00', '(a1/20)', '(1/2b1/2)q00'], 'B m 2 m': ['(0b0)', '(0b0)0ss', '(0b0)s0s', '(0b1)', '(0b1)0ss', '(0b1)s0s', '(a00)', '(a00)00s', '(a1/20)', '(a1/20)00s'], 'I m m b': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P 63/m c m': ['(00g)', '(00g)00ss'], 'I m m a': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'B b m b': ['(0b0)', '(0b0)00s', '(0b1)', '(0b1)00s', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s'], 'P 21 n m': ['(a00)', '(a00)s0s', '(a1/20)', '(a1/20)s0s', '(00g)', '(0b0)', '(0b0)00s', '(01/2g)'], 'B b m m': ['(0b0)', '(0b0)00s', '(0b1)', '(0b1)00s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s'], 'P 2 c m': ['(a00)', '(a00)s0s', '(a00)ss0', '(a00)0ss', '(a1/20)', '(a1/20)s0s', '(1/2b0)', '(1/2b0)s00', '(1/20g)', '(00g)', '(0b0)', '(0b0)0s0', '(01/2g)', '(1/21/2g)'], 'P n n n': ['(00g)', '(00g)s00', '(00g)0s0', '(1/21/2g)', '(a00)', '(a00)0s0', '(a00)00s', '(a1/21/2)', '(0b0)', '(0b0)s00', '(0b0)00s', '(1/2b1/2)'], 'F m m 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(00g)ss0', '(10g)', '(10g)ss0', '(10g)s0s', '(01g)', '(01g)ss0', '(01g)0ss', '(a00)', '(a00)0s0', '(a01)', '(a01)0s0', '(0b0)', '(0b0)s00', '(0b1)', '(0b1)s00'], 'A 21 m a': ['(a00)', '(a00)ss0', '(a10)', '(a10)ss0', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P m m 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(00g)ss0', '(01/2g)', '(01/2g)s0s', '(1/20g)', '(1/20g)0ss', '(1/21/2g)', '(a00)', '(a00)0s0', '(a1/20)', '(a01/2)', '(a01/2)0s0', '(a1/21/2)', '(0b0)', '(0b0)s00', '(0b1/2)', '(0b1/2)s00', '(1/2b0)', '(1/2b1/2)'], 'P b n n': ['(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(00g)', '(00g)s00', '(1/2b1/2)', '(1/21/2g)'], 'P b c n': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'B b c m': ['(0b0)', '(0b0)00s', '(0b1)', '(0b1)00s', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00'], 'P 21 n b': ['(a00)', '(a00)s0s', '(a1/21/2)0qq', '(00g)', '(0b0)'], 'P b c b': ['(0b0)', '(0b0)00s', '(a00)', '(a00)00s', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(1/2b0)', '(a01/2)'], 'B b c b': ['(0b0)', '(0b0)s00', '(0b1)', '(1b0)', '(0b1)s00', '(1b0)s00', '(00g)', '(00g)s00', '(00g)ss0', '(0b0)0s0', '(a00)', '(a00)s00', '(a00)ss0', '(a00)0s0'], 'P b c a': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P b n a': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P m m n': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a01/2)', '(a01/2)0s0', '(0b0)', '(0b0)s00', '(0b1/2)', '(0b1/2)s00'], 'P m m m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(01/2g)', '(01/2g)s00', '(1/20g)', '(1/20g)s00', '(1/21/2g)', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(a01/2)', '(a01/2)0s0', '(a1/20)', '(a1/20)00s', '(a1/21/2)', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s', '(1/2b0)', '(1/2b0)00s', '(0b1/2)', '(0b1/2)s00', '(1/2b1/2)'], 'F m m m': ['(00g)', '(00g)s00', '(00g)ss0', '(a00)', '(a00)s00', '(a00)ss0', '(0b0)', '(0b0)s00', '(0b0)ss0', '(10g)', '(10g)s00', '(10g)ss0', '(a10)', '(a10)0s0', '(a10)00s', '(a10)0ss', '(0b1)', '(0b1)s00', '(0b1)00s', '(0b1)s0s', '(01g)', '(01g)s00', '(01g)ss0', '(a01)', '(a01)0s0', '(a01)00s', '(a01)0ss', '(1b0)', '(1b0)s00', '(1b0)00s', '(1b0)s0s'], 'P m m b': ['(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(0b0)', '(0b0)s00', '(a00)', '(a00)0s0', '(a01/2)', '(a01/2)0s0', '(0b1/2)', '(0b1/2)s00', '(a1/20)', '(a1/21/2)'], 'P m m a': ['(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(a00)', '(a00)0s0', '(01/2g)', '(01/2g)s00', '(0b1/2)', '(0b1/2)s00', '(a01/2)', '(a01/2)0s0', '(1/2b0)', '(1/2b1/2)'], 'B b m 2': ['(0b0)', '(0b1)', '(00g)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(a00)', '(a00)0s0'], 'P 63/m': ['(00g)'], 'P m n a': ['(00g)', '(00g)s00', '(a00)', '(a00)00s', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(01/2g)', '(01/2g)s00', '(a1/20)'], 'P m n b': ['(00g)', '(00g)s00', '(a00)', '(a00)00s', '(0b0)', '(0b0)s00'], 'C 2 c b': ['(00g)', '(10g)', '(a00)', '(a00)s0s', '(a00)0ss', '(a00)ss0', '(0b0)', '(0b0)00s'], 'C 2 c m': ['(00g)', '(10g)', '(a00)', '(a00)s0s', '(a00)0ss', '(a00)ss0', '(0b0)', '(0b0)00s'], 'P m n m': ['(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s', '(00g)', '(00g)s00', '(01/2g)', '(01/2g)s00', '(a00)', '(a00)00s', '(a1/20)', '(a1/20)00s'], 'P m n n': ['(00g)', '(00g)s00', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00'], 'P 42/m c m': ['(00g)', '(00g)00ss', '(1/21/2g)', '(1/21/2g)00ss'], 'P 21': ['(a0g)', '(0b0)', '(1/2b0)', '(0b1/2)'], 'C 2 m m': ['(00g)', '(00g)0s0', '(10g)', '(10g)0s0', '(00g)', '(00g)s00', '(0b0)s0s', '(0b0)0ss', '(a01/2)', '(a01/2)ss0', '(0b0)', '(0b0)00s', '(0b1/2)'], 'C 2 m b': ['(00g)', '(00g)0s0', '(10g)', '(10g)0s0', '(a00)', '(a00)0ss', '(a00)ss0', '(a00)s0s', '(a01/2)', '(a01/2)s0s', '(0b0)', '(0b0)0s0', '(0b1/2)'], 'P c 2 a': ['(0b0)', '(0b0)ss0', '(0b0)0ss', '(0b0)s0s', '(1/2b1/2)q0q', '(00g)', '01/2g)', '(a00)', '(a1/20)'], 'C 2': ['(a0g)', '(0b0)', '(0b0)s', '(0b1/2)'], 'P c 2 m': ['(0b0)', '(0b0)s0s', '(0b0)ss0', '(0b0)0ss', '(1/2b0)', '(1/2b0)s0s', '(a1/20)', '(a1/20)s00', '(01/2g)', '(00g)', '(a00)', '(a00)0s0', '(1/20g)', '(1/21/2g)'], 'P 21 a b': ['(a00)', '(a00)s0s', '(a01/2)', '(a1/20)', '(0b0)', '(0b0)00s', '(0b1/2)', '(00g)', '(00g)0s0', '(01/2g)'], 'I 41/a': ['(00g)'], 'P 21 a m': ['(0b0)', '(0b0)ss0', '(0b1/2)', '(0b1/2)ss0', '(1/2b0)', '(1/2b1/2)', '(a00)', '(a00)00s', '(a1/20)', '(00g)', '(00g)s00', '(1/20g)'], 'I b m m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'A b a a': ['(a00)', '(a00)s00', '(a10)', '(a01)', '(a10)s00', '(a01)s00', '(0b0)', '(0b0)s00', '(0b0)ss0', '(0b0)0s0', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0'], 'P c c 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(01/2g)', '(1/20g)', '(1/21/2g)', '(a00)', '(a00)0s0', '(a1/20)', '(0b0)', '(0b0)s00', '(1/2b0)'], 'I b m 2': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P 2 2 21': ['(00g)', '(01/2g)', '(1/20g)', '(1/21/2g)', '(a00)', '(a00)s00', '(a1/20)', '(0b0)', '(0b0)0s0', '(1/2b0)'], 'P 43 21 2': ['(00g)'], 'C n': ['(a0g)', '(a0g)s', '(0b0)'], 'C c': ['(a0g)', '(a0g)s', '(0b0)'], 'P c c n': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'P c c m': ['(00g)', '(00g)s00', '(00g)0s0', '(01/2g)', '(1/20g)', '(1/21/2g)', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(a1/20)', '(a1/20)00s', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s', '(1/2b0)', '(1/2b0)00s'], 'P 42 n m': ['(00g)', '(00g)0ss', '(1/21/2g)qq0', '(1/21/2g)qqs'], 'C m c m': ['(00g)', '(00g)s00', '(10g)', '(10g)s00', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00'], 'C m c a': ['(00g)', '(00g)s00', '(10g)', '(10g)s00', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0'], 'P c c b': ['(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(1/20g)', '(a1/20)'], 'P c c a': ['(00g)', '(00g)s00', '(0b0)', '(0b0)s00', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(01/2g)', '(1/2b0)'], 'R -3': ['(00g)'], 'P n 21 a': ['(0b0)', '(0b0)0ss', '(1/2b1/2)q0q', '(00g)', '(a00)'], 'P 42 2 2': ['(00g)', '(00g)q00', '(1/21/2g)', '(1/21/2g)q00'], 'I -4 2 m': ['(00g)', '(00g)0ss'], 'P n 21 m': ['(0b0)', '(0b0)0ss', '(1/2b0)', '(1/2b0)0ss', '(00g)', '(a00)', '(a00)00s', '(1/20g)'], 'I -4 2 d': ['(00g)'], 'C c 2 m': ['(00g)', '(01g)', '(0b0)', '(0b0)0ss', '(0b0)s0s', '(0b0)ss0', '(a00)', '(a00)00s'], 'P 62 2 2': ['(00g)', '(00g)h00'], 'C c 2 a': ['(00g)', '(01g)', '(0b0)', '(0b0)0ss', '(0b0)s0s', '(0b0)ss0', '(a00)', '(a00)00s'], 'I 4 m m': ['(00g)', '(00g)ss0', '(00g)0ss', '(00g)s0s'], 'R 3 2': ['(00g)', '(00g)t0'], 'C m m 2': ['(00g)', '(00g)s0s', '(00g)ss0', '(10g)', '(10g)s0s', '(10g)ss0', '(0b0)', '(0b0)s00', '(0b1/2)', '(0b1/2)s00'], 'A 2 a a': ['(a00)', '(a00)ss0', '(a00)s0s', '(a10)', '(a10)ss0', '(a10)ss0', '(a01)', '(a01)ss0', '(a01)ss0', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'I c 2 a': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P 42/n n m': ['(00g)', '(00g)00ss', '(1/21/2g)', '(1/21/2g)00ss'], 'P 3 c 1': ['(00g)'], 'P 42 c m': ['(00g)', '(00g)0ss', '(1/21/2g)', '(1/21/2g)0ss'], 'C m': ['(a0g)', '(a0g)s', '(0b0)', '(0b1/2)'], 'I c 2 m': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P 64': ['(00g)', '(00g)h'], 'P 65': ['(00g)'], 'P 62': ['(00g)', '(00g)h'], 'C m m a': ['(00g)', '(00g)s00', '(00g)ss0', '(10g)', '(10g)s00', '(10g)ss0', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(a01/2)', '(a01/2)0s0'], 'C m m b': ['(00g)', '(00g)0s0', '(00g)ss0', '(01g)', '(01g)0s0', '(01g)ss0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(0b1/2)', '(0b1/2)s00'], 'P 61': ['(00g)'], 'C m m m': ['(00g)', '(00g)s00', '(00g)ss0', '(10g)', '(10g)s00', '(10g)ss0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(0b1/2)', '(0b1/2)s00'], 'P 42 m c': ['(00g)', '(00g)ss0', '(1/21/2g)'], 'R 3 m': ['(00g)', '(00g)0s'], 'P -4 m 2': ['(00g)', '(00g)0s0', '(1/21/2g)'], 'R 3 c': ['(00g)'], 'I 2 m b': ['(0b0)', '(0b0)s0s', '(0b0)0ss', '(0b0)ss0', '(00g)', '(00g)s00', '(a00)', '(a00)00s'], 'I 2 m m': ['(a00)', '(00g)0ss', '(00g)ss0', '(00g)s0s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0'], 'P 3 1 2': ['(00g)', '(00g)t00', '(1/31/3g)'], 'A m m 2': ['(a00)', '(a00)0s0', '(a10)', '(a10)0s0', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)0ss', '(1/20g)', '(1/20g)0ss', '(0b0)', '(0b0)s00', '(1/2b0)'], 'P 42/n c m': ['(00g)', '(00g)00ss'], 'I m c b': ['(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)00s', '(0b0)s00', '(0b0)s0s', '(00g)', '(00g)0s0', '(00g)s00', '(00g)ss0'], 'P 4 2 2': ['(00g)', '(00g)q00', '(00g)s00', '(1/21/2g)', '(1/21/2g)q00'], 'P -3 1 c': ['(00g)', '(1/31/3g)'], 'P -3 1 m': ['(00g)', '(00g)00s', '(1/31/3g)', '(1/31/3g)00s'], 'I 41': ['(00g)', '(00g)q'], 'I m c m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'I 41 2 2': ['(00g)', '(00g)q00'], 'P 3 1 m': ['(00g)', '(00g)00s', '(1/31/3g)', '(1/31/3g)00s'], 'P 4/m b m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s'], 'P -4 b 2': ['(00g)', '(00g)0s0', '(1/21/2g)0q0'], 'P 3 1 c': ['(00g)', '(1/31/3g)'], 'P b 21 a': ['(0b0)', '(0b0)0ss', '(0b1/2)', '(1/2b0)', '(a00)', '(a00)00s', '(a1/20)', '(00g)', '(00g)s00', '(1/20g)'], 'P b 21 m': ['(0b0)', '(0b0)ss0', '(0b1/2)', '(0b1/2)ss0', '(1/2b0)', '(1/2b1/2)', '(00g)', '(00g)s00', '(1/20g)', '(a00)', '(a00)0s0', '(a01/2)'], 'A m m a': ['(a00)', '(a00)0s0', '(a10)', '(a10)0s0', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0'], 'A m m m': ['(a00)', '(a00)0s0', '(a00)0ss', '(a10)', '(a10)0s0', '(a10)0ss', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(1/20g)', '(1/20g)0s0'], 'P 4 21 2': ['(00g)', '(00g)q00', '(00g)s00'], 'C c m 21': ['(00g)', '(00g)0ss', '(01g)', '(01g)0ss', '(a00)', '(a00)0s0', '(0b0)', '(0b0)s00'], 'F d d d': ['(00g)', '(00g)s00', '(a00)', '(a00)s00', '(0b0)', '(0b0)s00'], 'P -3 m 1': ['(00g)', '(00g)0s0'], 'C c m m': ['(00g)', '(00g)0s0', '(01g)', '(01g)0s0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0'], 'I c m a': ['(0b0)', '(0b0)00s', '(0b0)s00', '(0b0)s0s', '(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)00s', '(a00)0s0', '(a00)0ss'], 'P m a a': ['(a00)', '(a00)0s0', '(a00)00s', '(a01/2)', '(a1/20)', '(a1/21/2)', '(0b0)', '(0b0)00s', '(0b0)s00', '(0b0)s0s', '(0b1/2)', '(0b1/2)s00', '(00g)', '(00g)0s0', '(00g)s00', '(00g)ss0', '(01/2g)', '(01/2g)s00'], 'F d d 2': ['(00g)', '(00g)0ss', '(00g)s0s', '(a00)', '(0b0)'], 'I c m m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P m a m': ['(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(a00)', '(a00)00s', '(0b1/2)', '(0b1/2)s00', '(01/2g)', '(01/2g)s00', '(a1/20)', '(a1/20)00s', '(1/20g)', '(1/21/2g)'], 'I 4/m': ['(00g)', '(00g)s0'], 'P 4 c c': ['(00g)', '(00g)ss0', '(1/21/2g)'], 'P -6 m 2': ['(00g)', '(00g)0s0'], 'I 4/m c m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s'], 'A 2 m m': ['(a00)', '(a00)ss0', '(a00)0ss', '(a10)', '(a10)ss0', '(a10)0ss', '(00g)', '(00g)0s0', '(1/20g)', '(1/20g)0s0'], 'P b c m': ['(00g)', '(00g)s00', '(0b0)', '(0b0)00s', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(1/20g)', '(1/2b0)', '(1/2b0)00s'], 'P 31': ['(00g)', '(1/31/3g)'], 'P 32': ['(00g)', '(1/31/3g)'], 'P c a 21': ['(00g)', '(00g)0ss', '(01/2g)', '(1/20g)', '(a00)', '(a00)0s0', '(a1/20)', '(0b0)', '(0b0)s00', '(1/2b0)'], 'I 4': ['(00g)', '(00g)q', '(00g)s'], 'P 21 2 21': ['(0b0)', '(0b0)0s0', '(00g)', '(01/2g)', '(a00)', '(a01/2)'], 'P 42/m b c': ['(00g)', '(00g)s0s0'], 'P n 2 n': ['(0b0)', '(0b0)ss0', '(0b0)0ss', '(1/2b1/2)q0q', '(00g)', '(1/21/2g)0q0', '(1/21/2g)q00', '(a00)', '(a1/21/2)00q', '(a1/21/2)0q0'], 'P n 2 b': ['(0b0)', '(0b0)0ss', '(1/2b0)', '(00g)', '(a00)', '(a00)00s', '(1/20g)', '(a1/21/2)00q'], 'P 4/m': ['(00g)', '(00g)s0', '(1/21/2g)'], 'P 4/n': ['(00g)', '(00g)s0', '(1/21/2g)'], 'A m a m': ['(a00)', '(a00)00s', '(a01)', '(a01)00s', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s'], 'P 21 21 21': ['(00g)', '(a00)', '(0b0)'], 'P 2/n': ['(a0g)', '(a0g)0s', '(a1/2g)', '(0b0)', '(0b0)s0', '(1/2b1/2)'], 'P m 21 n': ['(0b0)', '(0b0)ss0', '(0b1/2)', '(0b1/2)ss0', '(a00)', '(00g)', '(00g)s00', '(a01/2)'], 'P 2/m': ['(a0g)', '(a0g)0s', '(a1/2g)', '(0b0)', '(0b0)s0', '(1/2b0)', '(0b1/2)'], 'P 2/c': ['(a0g)', '(a0g)0s', '(a1/2g)', '(0b0)', '(0b0)s0', '(1/2b0)'], 'P m 21 b': ['(a00)', '(a00)ss0', '(a01/2)', '(a01/2)ss0', '(a1/20)', '(a1/21/2)', '(00g)', '(00g)0s0', '(01/2g)', '(0b0)', '(0b0)s00', '(0b1/2)'], 'P 2/a': ['(a0g)', '(a0g)0s', '(a1/2g)', '(0b0)', '(0b0)s0', '(0b1/2)'], 'P b n 21': ['(00g)', '(00g)s0s', '(1/21/2g)qq0', '(a00)', '(0b0)'], 'P 61 2 2': ['(00g)'], 'P b a m': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)00s', '(a01/2)', '(0b0)', '(0b0)00s', '(0b1/2)'], 'P b a n': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(1/21/2g)', '(a00)', '(a00)0s0', '(a01/2)', '(0b0)', '(0b0)s00', '(0b1/2)'], 'B 2 2 2': ['(0b0)', '(0b0)0s0', '(1b0)', '(1b0)0s0', '(0b1)', '(0b1)0s0', '(00g)', '(00g)00s', '(01/2g)', '(a00)', '(a00)s00', '(a1/20)'], 'C c m b': ['(00g)', '(00g)0s0', '(01g)', '(01g)0s0', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00'], 'P b a a': ['(a00)', '(a00)0s0', '(00g)', '(00g)0s0', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)s00', '(a01/2)', '(01/2g)'], 'P b a b': ['(0b0)', '(0b0)s00', '(00g)', '(00g)s00', '(a00)', '(a00)00s', '(a00)0ss', '(a00)0s0', '(0b1/2)', '(1/20g)'], 'C 2 2 2': ['(00g)', '(00g)00s', '(10g)', '(10g)00s', '(01g)', '(01g)00s', '(a00)', '(a00)s00', '(a01/2)', '(0b0)', '(0b0)0s0', '(0b1/2)'], 'I -4 m 2': ['(00g)', '(00g)0s0'], 'I 21 21 21': ['(00g)', '(00g)00s', '(a00)', '(a00)s00', '(0b0)', '(0b0)0s0'], 'P 43 2 2': ['(00g)', '(1/21/2g)'], 'A m a 2': ['(a00)', '(a01)', '(00g)', '(00g)s0s', '(00g)ss0', '(00g)0ss', '(0b0)', '(0b0)s00'], 'I -4 c 2': ['(00g)', '(00g)0s0'], 'P b a 2': ['(00g)', '(00g)s0s', '(00g)0ss', '(00g)ss0', '(1/21/2g)qq0', '(a00)', '(a01/2)', '(0b0)', '(0b1/2)'], 'P 63 2 2': ['(00g)', '(00g)h00'], 'A b m m': ['(a00)', '(a00)0s0', '(a00)0ss', '(a10)', '(a10)0s0', '(a10)0ss', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s', '(1/2b0)', '(1/2b0)00s'], 'A b m a': ['(a00)', '(a00)0s0', '(a10)', '(a10)0s0', '(00g)', '(00g)s00', '(00g)ss0', '(00g)0s0', '(0b0)', '(0b0)s00', '(0b0)s0s', '(0b0)00s'], 'A m 2 a': ['(a00)', '(a10)', '(0b0)', '(0b0)ss0', '(0b0)s0s', '(0b0)0ss', '(00g)', '(00g)s00'], 'P n m 21': ['(00g)', '(00g)0ss', '(1/20g)', '(1/20g)0ss', '(0b0)', '(a00)', '(a00)0s0', '(1/2b0)'], 'B b 21 m': ['(0b0)', '(0b0)0ss', '(0b1)', '(0b1)ss0', '(a00)', '(a00)00s', '(00g)', '(00g)s00'], 'A m 2 m': ['(a00)', '(a00)00s', '(a01)', '(a01)00s', '(0b0)', '(0b0)00s', '(0b0)s0s', '(0b0)0ss', '(1/2b0)', '(1/2b0)0ss', '(00g)', '(00g)s00', '(1/20g)'], 'P 4/n n c': ['(00g)', '(00g)s0s0', '(1/21/2g)'], 'P 64 2 2': ['(00g)', '(00g)h00'], 'P n a 21': ['(00g)', '(00g)0ss', '(1/21/2g)qq0', '(0b0)', '(a00)'], 'P 42 b c': ['(00g)', '(00g)ss0', '(1/21/2g)qq0'], 'P 32 1 2': ['(00g)', '(1/31/3g)'], 'A b m 2': ['(a00)', '(a00)0s0', '(a01)', '(a01)0s0', '(00g)', '(00g)s0s', '(00g)ss0', '(00g)0ss', '(1/20g)', '(1/20g)0ss', '(0b0)', '(0b0)s00', '(1/2b0)'], 'P -4 21 c': ['(00g)'], 'P 6/m m m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s'], 'P -4 21 m': ['(00g)', '(00g)0ss'], 'P 6/m': ['(00g)', '(00g)s0'], 'P -6 c 2': ['(00g)'], 'P 2 a n': ['(a00)', '(a00)ss0', '(a01/2)', '(0b0)', '(00g)', '(00g)0s0', '(0b1/2)', '(1/21/2g)0q0'], 'P 2 a a': ['(a00)', '(a00)ss0', '(a00)s0s', '(a01/2)', '(a1/20)', '(a1/21/2)', '(0b0)', '(0b0)00s', '(0b1/2)', '(00g)', '(00g)0s0', '(01/2g)'], 'P c a m': ['(00g)', '(00g)0s0', '(a00)', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)ss0', '(0b0)00s', '(01/2g)', '(a1/20)', '(a1/20)00s'], 'P c a n': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P c a a': ['(a00)', '(a00)00s', '(0b0)', '(0b0)00s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(a1/20)', '(0b1/2)'], 'P 4 n c': ['(00g)', '(00g)ss0', '(1/21/2g)qq0'], 'P 2 2 2': ['(00g)', '(00g)00s', '(01/2g)', '(1/20g)', '(1/21/2g)', '(a00)', '(a00)s00', '(a01/2)', '(a1/20)', '(a1/21/2)', '(0b0)', '(0b0)0s0', '(1/2b0)', '(0b1/2)', '(1/2b1/2)'], 'P 3 2 1': ['(00g)', '(00g)t00'], 'P b c 21': ['(00g)', '(00g)s0s', '(1/20g)', '(01/2g)', '(0b0)', '(0b0)s00', '(0b1/2)', '(a00)', '(a00)0s0', '(a1/20)'], 'P c n n': ['(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(00g)', '(00g)s00', '(1/2b1/2)', '(1/21/2g)'], 'C 2 2 21': ['(00g)', '(10g)', '(01g)', '(a00)', '(a00)s00', '(0b0)', '(0b0)0s0'], 'P 31 2 1': ['(00g)'], 'P m a 2': ['(00g)', '(00g)s0s', '(00g)ss0', '(00g)0ss', '(01/2g)', '(01/2g)s0s', '(0b1/2)', '(0b1/2)s00', '(a01/2)', '(a00)', '(0b0)', '(0b0)0s0', '(a1/20)', '(a1/21/2)'], 'B 2 m m': ['(0b0)', '(0b0)00s', '(0b1)', '(0b1)00s', '(a00)', '(a00)00s', '(a00)0ss', '(a00)s0s', '(a1/20)', '(a1/20)s0s', '(00g)', '(00g)0s0', '(01/2g)'], 'P 21 21 2': ['(00g)', '(00g)00s', '(a00)', '(a01/2)', '(0b0)', '(0b1/2)'], 'P 41 2 2': ['(00g)', '(1/21/2g)'], 'P 4/m m m': ['(00g)', '(00g)s0s0', '(00g)00ss', '(00g)s00s', '(1/21/2g)', '(1/21/2g)s0s0', '(1/21/2g)00ss', '(1/21/2g)s00s'], 'P -4 n 2': ['(00g)', '(1/21/2g)0q0'], 'P 6 c c': ['(00g)', '(00g)s0s'], 'B 2 21 2': ['(0b0)', '(1b0)', '(0b1)', '(00g)', '(00g)00s', '(a00)', '(a00)s00'], 'P -4 c 2': ['(00g)', '(1/21/2g)'], 'A b a 2': ['(a00)', '(a01)', '(00g)', '(00g)s0s', '(00g)ss0', '(00g)0ss', '(0b0)', '(0b0)s00'], 'I b c a': ['(00g)', '(00g)s00', '(00g)0s0', '(00g)ss0', '(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(0b0)', '(0b0)s00', '(0b0)00s', '(0b0)s0s'], 'P 2 21 21': ['(a00)', '(a00)s00', '(0b0)', '(0b1/2)', '(00g)', '(01/2g)'], 'B m c m': ['(0b0)', '(0b0)00s', '(0b0)s0s', '(0b1)', '(0b1)00s', '(0b1)s0s', '(00g)', '(00g)0s0', '(00g)ss0', '(00g)s00', '(01/2g)', '(01/2g)s00'], 'I 2 c m': ['(0b0)', '(0b0)s0s', '(0b0)0ss', '(0b0)ss0', '(00g)', '(00g)s00', '(a00)', '(a00)00s'], 'F 2 2 2': ['(00g)', '(00g)00s', '(10g)', '(01g)', '(a00)', '(a00)s00', '(a10)', '(a01)', '(0b0)', '(0b0)0s0', '(1b0)', '(0b1)'], 'I 2 c b': ['(0b0)', '(0b0)s0s', '(0b0)0ss', '(0b0)ss0', '(00g)', '(00g)s00', '(a00)', '(a00)00s'], 'P n c 2': ['(00g)', '(00g)0ss', '(1/20g)', '(0b0)', '(a00)', '(a00)0s0', '(1/2b0)', '(a1/21/2)s0s'], 'A 2 2 2': ['(a00)', '(a00)s00', '(a10)', '(a10)s00', '(a01)', '(a01)s00', '(0b0)', '(0b0)0s0', '(1/2b0)', '(00g)', '(00g)00s', '(1/20g)'], 'P 6 m m': ['(00g)', '(00g)ss0', '(00g)0ss', '(00g)s0s'], 'P 32 2 1': ['(00g)'], 'B m 21 b': ['(0b0)', '(0b0)ss0', '(1b0)', '(1b0)ss0', '(a00)', '(a00)00s', '(00g)', '(00g)s00'], 'P m n 21': ['(00g)', '(00g)s0s', '(01/2g)', '(01/2g)s0s', '(a00)', '(0b0)', '(0b0)s00', '(a1/20)'], 'P n c b': ['(a00)', '(a00)0s0', '(a00)00s', '(a00)0ss', '(a1/21/2)', '(0b0)', '(0b0)00s', '(1/2b0)', '(00g)', '(00g)0s0', '(1/20g)'], 'P n c a': ['(00g)', '(00g)s00', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)00s', '(0b0)', '(0b0)s00', '(0b0)00s'], 'P 41': ['(00g)', '(1/21/2g)'], 'P 42': ['(00g)', '(00g)q', '(1/21/2g)', '(1/21/2g)q'], 'P 43': ['(00g)', '(1/21/2g)'], 'P n c n': ['(0b0)', '(0b0)s00', '(0b0)00s', '(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(1/21/2g)', '(a1/21/2)'], 'P n c m': ['(0b0)', '(0b0)00s', '(00g)', '(00g)0s0', '(a00)', '(a00)0s0', '(a00)0ss', '(a00)00s', '(1/2b0)', '(1/2b0)00s', '(1/20g)']}</em><a class="headerlink" href="#GSASIIspc.ssdict" title="Permalink to this definition">¶</a></dt> |
---|
2279 | <dd><p>A dictionary of superspace group symbols allowed for each entry in spglist |
---|
2280 | (except cubics). Monoclinics are all b-unique setting.</p> |
---|
2281 | </dd></dl> |
---|
2282 | |
---|
2283 | <dl class="function"> |
---|
2284 | <dt id="GSASIIspc.test0"> |
---|
2285 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">test0</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#test0"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.test0" title="Permalink to this definition">¶</a></dt> |
---|
2286 | <dd><p>self-test #0: exercise MoveToUnitCell</p> |
---|
2287 | </dd></dl> |
---|
2288 | |
---|
2289 | <dl class="function"> |
---|
2290 | <dt id="GSASIIspc.test1"> |
---|
2291 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">test1</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#test1"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.test1" title="Permalink to this definition">¶</a></dt> |
---|
2292 | <dd><p>self-test #1: SpcGroup against previous results</p> |
---|
2293 | </dd></dl> |
---|
2294 | |
---|
2295 | <dl class="function"> |
---|
2296 | <dt id="GSASIIspc.test2"> |
---|
2297 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">test2</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#test2"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.test2" title="Permalink to this definition">¶</a></dt> |
---|
2298 | <dd><p>self-test #2: SpcGroup against cctbx (sgtbx) computations</p> |
---|
2299 | </dd></dl> |
---|
2300 | |
---|
2301 | <dl class="function"> |
---|
2302 | <dt id="GSASIIspc.test3"> |
---|
2303 | <tt class="descclassname">GSASIIspc.</tt><tt class="descname">test3</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/GSASIIspc.html#test3"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#GSASIIspc.test3" title="Permalink to this definition">¶</a></dt> |
---|
2304 | <dd><p>self-test #3: exercise SytSym (includes GetOprPtrName, GenAtom, GetKNsym) |
---|
2305 | for selected space groups against info in IT Volume A</p> |
---|
2306 | </dd></dl> |
---|
2307 | |
---|
2308 | </div> |
---|
2309 | <span class="target" id="module-gltext"></span><div class="section" id="gltext-draw-opengl-text"> |
---|
2310 | <h2><em>gltext: draw OpenGL text</em><a class="headerlink" href="#gltext-draw-opengl-text" title="Permalink to this headline">¶</a></h2> |
---|
2311 | <p>Routines that render text on OpenGL without use of GLUT.</p> |
---|
2312 | <p>Code written by Christian Brugger & Stefan Hacker and |
---|
2313 | distributed under GNU General Public License.</p> |
---|
2314 | <dl class="class"> |
---|
2315 | <dt id="gltext.Text"> |
---|
2316 | <em class="property">class </em><tt class="descclassname">gltext.</tt><tt class="descname">Text</tt><big>(</big><em>text='Text'</em>, <em>font=None</em>, <em>font_size=8</em>, <em>foreground=wx.Colour()</em>, <em>centered=False</em><big>)</big><a class="reference internal" href="_modules/gltext.html#Text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text" title="Permalink to this definition">¶</a></dt> |
---|
2317 | <dd><p>A simple class for using System Fonts to display text in |
---|
2318 | an OpenGL scene. The Text adds a global Cache of already |
---|
2319 | created text elements to TextElement’s base functionality |
---|
2320 | so you can save some memory and increase speed</p> |
---|
2321 | <dl class="attribute"> |
---|
2322 | <dt id="gltext.Text.centered"> |
---|
2323 | <tt class="descname">centered</tt><a class="headerlink" href="#gltext.Text.centered" title="Permalink to this definition">¶</a></dt> |
---|
2324 | <dd><p>Display the text centered</p> |
---|
2325 | </dd></dl> |
---|
2326 | |
---|
2327 | <dl class="method"> |
---|
2328 | <dt id="gltext.Text.draw_text"> |
---|
2329 | <tt class="descname">draw_text</tt><big>(</big><em>position=wx.Point(0</em>, <em>0)</em>, <em>scale=1.0</em>, <em>rotation=0</em><big>)</big><a class="reference internal" href="_modules/gltext.html#Text.draw_text"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text.draw_text" title="Permalink to this definition">¶</a></dt> |
---|
2330 | <dd><p>position (wx.Point) - x/y Position to draw in scene |
---|
2331 | scale (float) - Scale |
---|
2332 | rotation (int) - Rotation in degree</p> |
---|
2333 | <p>Draws the text to the scene</p> |
---|
2334 | </dd></dl> |
---|
2335 | |
---|
2336 | <dl class="attribute"> |
---|
2337 | <dt id="gltext.Text.font"> |
---|
2338 | <tt class="descname">font</tt><a class="headerlink" href="#gltext.Text.font" title="Permalink to this definition">¶</a></dt> |
---|
2339 | <dd><p>Font of the object</p> |
---|
2340 | </dd></dl> |
---|
2341 | |
---|
2342 | <dl class="attribute"> |
---|
2343 | <dt id="gltext.Text.font_size"> |
---|
2344 | <tt class="descname">font_size</tt><a class="headerlink" href="#gltext.Text.font_size" title="Permalink to this definition">¶</a></dt> |
---|
2345 | <dd><p>Font size</p> |
---|
2346 | </dd></dl> |
---|
2347 | |
---|
2348 | <dl class="attribute"> |
---|
2349 | <dt id="gltext.Text.foreground"> |
---|
2350 | <tt class="descname">foreground</tt><a class="headerlink" href="#gltext.Text.foreground" title="Permalink to this definition">¶</a></dt> |
---|
2351 | <dd><p>Color/Overlay bitmap of the text</p> |
---|
2352 | </dd></dl> |
---|
2353 | |
---|
2354 | <dl class="method"> |
---|
2355 | <dt id="gltext.Text.getTextElement"> |
---|
2356 | <tt class="descname">getTextElement</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/gltext.html#Text.getTextElement"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text.getTextElement" title="Permalink to this definition">¶</a></dt> |
---|
2357 | <dd><p>Returns the text element bound to the Text class</p> |
---|
2358 | </dd></dl> |
---|
2359 | |
---|
2360 | <dl class="method"> |
---|
2361 | <dt id="gltext.Text.getTexture"> |
---|
2362 | <tt class="descname">getTexture</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/gltext.html#Text.getTexture"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text.getTexture" title="Permalink to this definition">¶</a></dt> |
---|
2363 | <dd><p>Returns the texture of the bound TextElement</p> |
---|
2364 | </dd></dl> |
---|
2365 | |
---|
2366 | <dl class="method"> |
---|
2367 | <dt id="gltext.Text.getTexture_size"> |
---|
2368 | <tt class="descname">getTexture_size</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/gltext.html#Text.getTexture_size"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text.getTexture_size" title="Permalink to this definition">¶</a></dt> |
---|
2369 | <dd><p>Returns a texture size tuple</p> |
---|
2370 | </dd></dl> |
---|
2371 | |
---|
2372 | <dl class="method"> |
---|
2373 | <dt id="gltext.Text.setCentered"> |
---|
2374 | <tt class="descname">setCentered</tt><big>(</big><em>value</em>, <em>reinit=True</em><big>)</big><a class="reference internal" href="_modules/gltext.html#Text.setCentered"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#gltext.Text.setCentered" title="Permalink to this definition">¶</a></dt> |
---|
2375 | <dd><p>value (bool) - New centered value |
---|
2376 | reinit (bool) - Create a new texture</p> |
---|
2377 | <p>Sets a new value for ‘centered’</ |
---|