1 | Required packages |
---|
2 | ==================== |
---|
3 | |
---|
4 | GSAS-II requires a standard Python interpreter to be installed, as |
---|
5 | well as several separately-developed packages. GSAS-II is being |
---|
6 | developed using Python 2.7, 3.6 and 3.7. At this point we think that |
---|
7 | most sections of the code have been exercised in Python 2 and 3, |
---|
8 | but bugs are still expected (please report them). Our |
---|
9 | goal is to keep the code compliant with both Python 2.7 and 3.x for |
---|
10 | the immediate future. |
---|
11 | |
---|
12 | Note that the packages listed below are not distributed as part of the Python standard |
---|
13 | library. We use the free Anaconda Python (https://www.anaconda.com/) |
---|
14 | distribution (and provide installers based on that), but there are |
---|
15 | many other fine distributions, such as Enthought Inc.'s Canopy and |
---|
16 | Python(x,y), see here: https://www.python.org/download/alternatives/. |
---|
17 | We do some testing using the older Enthought Python Distribution |
---|
18 | (EPD); this is known to have some problems with reading CIFs and |
---|
19 | encourage updating from that. |
---|
20 | |
---|
21 | More details on allowed and prefered package versions can be found in |
---|
22 | the documentation for variable :attr:`GSASIIdataGUI.versionDict`. |
---|
23 | |
---|
24 | GUI Requirements |
---|
25 | ---------------- |
---|
26 | |
---|
27 | When using the GSAS-II graphical user interface (GUI), the following |
---|
28 | Python extension packages are required: |
---|
29 | |
---|
30 | * wxPython (http://wxpython.org/docs/api/). Note that GSAS-II has been tested with wxPython 2.8.x, 3.0.x and 4.0.x. We encourage use of 3.0 with Python 2.7 and 4.x with Python 3.x. |
---|
31 | * NumPy (http://docs.scipy.org/doc/numpy/reference/), |
---|
32 | * SciPy (http://docs.scipy.org/doc/scipy/reference/), |
---|
33 | * matplotlib (http://matplotlib.org/contents.html) and |
---|
34 | * PyOpenGL (http://pyopengl.sourceforge.net/documentation). Note: a copy of this is distributed with GSAS-II (at present) and will be installed if the Python setuptools package is present. |
---|
35 | |
---|
36 | Several packages are used in sections of the code, but are not |
---|
37 | required. If these packages are not present, warning messages may be |
---|
38 | generated if they would be needed, but the vast bulk of GSAS-II will function normally. |
---|
39 | |
---|
40 | * Pillow (https://pillow.readthedocs.org) or PIL (http://www.pythonware.com/products/pil/). This is used to save |
---|
41 | and read certain types of images. |
---|
42 | * h5py is the HDF5 interface and hdf5 is the support package. These |
---|
43 | packages are (not surprisingly) required |
---|
44 | to import images from HDF5 files. If these libraries are not present, |
---|
45 | the HDF5 importer(s) will not appear in the import menu and a |
---|
46 | warning message appears on GSAS-II startup. |
---|
47 | * imageio is used to make movies. |
---|
48 | * svn: When using Anaconda we also encourage installation of the |
---|
49 | svn (subversion) conda package. This is not actually part of Python |
---|
50 | and can be installed directly into your system's configuration. It is used by |
---|
51 | GSAS-II to download updates to our code. |
---|
52 | |
---|
53 | Scripting Requirements |
---|
54 | ----------------------- |
---|
55 | |
---|
56 | When using the GSAS-II scripting interface (:mod:`GSASIIscriptable`), |
---|
57 | only the following Python extension packages are required: |
---|
58 | |
---|
59 | * NumPy (http://docs.scipy.org/doc/numpy/reference/), |
---|
60 | * SciPy (http://docs.scipy.org/doc/scipy/reference/). |
---|
61 | |
---|
62 | Note that some sections of the code may require matplotlib (http://matplotlib.org/contents.html), Pillow |
---|
63 | (https://pillow.readthedocs.org) (or PIL, |
---|
64 | http://www.pythonware.com/products/pil/), or h5py + hdf5 to function |
---|
65 | but scripts will load and run without these. |
---|
66 | |
---|
67 | |
---|
68 | External and Supplied Programs |
---|
69 | -------------------------------- |
---|
70 | |
---|
71 | GSAS-II provides interfaces to use a number of programs developed by |
---|
72 | others. Some are included with GSAS-II and others must be installed |
---|
73 | separately. When these programs are accessed, citation |
---|
74 | information is provided. |
---|
75 | |
---|
76 | GSAS-II includes copies of these programs: |
---|
77 | |
---|
78 | **DIFFaX** |
---|
79 | Simulate layered structures with faulting |
---|
80 | |
---|
81 | **CifFile** |
---|
82 | A software library used to read data and structures from CIF |
---|
83 | |
---|
84 | **Shapes** |
---|
85 | Model small angle scattering with shaped particles |
---|
86 | |
---|
87 | **NIST FPA** |
---|
88 | Use Fundamental Parameters to determine GSAS-II profile function |
---|
89 | |
---|
90 | No additional steps beyond a standard installation |
---|
91 | are needed to access their functionality. |
---|
92 | |
---|
93 | **Bilboa Crystallographic Server**: GSAS-II directly access the |
---|
94 | Bilboa Crystallographic Server (provided |
---|
95 | the computer has internet access). This allows automated use of the |
---|
96 | k-SUBGROUPSMAG, k-SUBGROUPS and PseudoLattice web utilities for |
---|
97 | computation of space group subgroups, color (magnetic) subgroups & |
---|
98 | lattice search. |
---|
99 | |
---|
100 | At the request of the program authors, these programs are not included |
---|
101 | with GSAS-II and must be installed separately: |
---|
102 | |
---|
103 | **RMCProfile** |
---|
104 | Large-box PDF & S(Q) fitting. We have heard from users that V6.7.7 |
---|
105 | of RMCProfile is compatible with the input created by GSAS-II, |
---|
106 | but not V6.7.9. |
---|
107 | |
---|
108 | **fullrmc** |
---|
109 | A modern software toolkit for large-box PDF & S(Q) fitting. Use |
---|
110 | version 5.0 or later. |
---|
111 | |
---|
112 | **Dysnomia** |
---|
113 | Computes enhanced Fourier maps with Maximum Entropy estimated |
---|
114 | extension of reflection sphere |
---|