Skip to content

Commit 63e3944

Browse files
committed
Sync with the source at 2cdf42c.
1 parent f69a258 commit 63e3944

37 files changed

+701
-358
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: b508facb6a88b41c4b4521f1ec2ecccb
3+
config: 23ad2882cfba193ad3f092287fb608f9
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

NSFnugget.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,15 @@
33

44
<html xmlns="http://www.w3.org/1999/xhtml">
55
<head>
6+
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
67
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
78
<title>Enabling new science in nanoscale structure characterization of complex materials &#8212; DiffPy documentation</title>
89
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
910
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
1011
<link rel="stylesheet" href="_static/bootswatch-3.1.0/cerulean/bootstrap.min.css" type="text/css" />
1112
<link rel="stylesheet" href="_static/bootstrap-sphinx.css" type="text/css" />
1213
<link rel="stylesheet" href="_static/diffpy-styles.css" type="text/css" />
13-
<script type="text/javascript">
14-
var DOCUMENTATION_OPTIONS = {
15-
URL_ROOT: './',
16-
VERSION: '',
17-
COLLAPSE_INDEX: false,
18-
FILE_SUFFIX: '.html',
19-
HAS_SOURCE: true,
20-
SOURCELINK_SUFFIX: '.txt'
21-
};
22-
</script>
14+
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
2315
<script type="text/javascript" src="_static/jquery.js"></script>
2416
<script type="text/javascript" src="_static/underscore.js"></script>
2517
<script type="text/javascript" src="_static/doctools.js"></script>
@@ -36,8 +28,7 @@
3628
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
3729
<meta name="apple-mobile-web-app-capable" content="yes">
3830

39-
</head>
40-
<body>
31+
</head><body>
4132

4233
<div id="navbar" class="navbar navbar-inverse navbar-default navbar-fixed-top">
4334
<div class="container">
@@ -79,6 +70,7 @@
7970
<li><a href="products/pdfgui.html">PDFgui</a></li>
8071
<li><a href="products/SrMise.html">SrMise</a></li>
8172
<li><a href="products/mPDF.html">mPDF</a></li>
73+
<li><a href="products/xinterpdf.html">xINTERPDF</a></li>
8274
<li><a href="products/pythonpackages.html">Python Packages</a></li>
8375
</ul>
8476
</li>

_images/xinterpdf.png

557 KB
Loading

_sources/index.rst.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ centered at Columbia University and, before that, Michigan State University.
4747

4848
.. _national science foundation: http://www.nsf.gov/
4949

50-
.. _department of energy, office of basic energy sciences: http://science.energy.gov/bes/
50+
.. _department of energy, office of basic energy sciences: https://science.energy.gov/bes/
5151

5252
.. _brookhaven national laboratory: http://www.bnl.gov/
5353

@@ -83,3 +83,4 @@ centered at Columbia University and, before that, Michigan State University.
8383
products/pythonpackages
8484
products/SrMise
8585
products/mPDF
86+
products/xinterpdf

_sources/products/diffpycmi/contents.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ External libraries
6868
density, and X-ray/neutron scattering information.
6969

7070
* - `libobjcryst`_
71-
- `doc <http://vincefn.net/ObjCryst/>`__
71+
- `doc <https://vincefn.net/ObjCryst/>`__
7272
- ObjCryst++, crystallographic library for C++ re-packaged for
7373
installation as a shared library.
7474

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
#########
2+
xINTERPDF
3+
#########
4+
5+
xINTERPDF is a Python GUI program for analyzing X-ray pair distribution
6+
function (PDF) data of organic compounds collected at synchrotron and/or
7+
laboratory X-ray sources. It uses DiffPy-CMI as a backend for simulation
8+
of PDFs.
9+
10+
Currently it supports:
11+
12+
* The study of intermolecular interaction (e.g. hydrogen bonds) by
13+
subtracting out the scattering signal(s) of single molecule(s) in real
14+
space.
15+
* The PDF model fit of the crystalline organic compound using the method
16+
proposed by Prill *et al*. (`J. Appl. Crystallogr., 48, 171-178, 2015
17+
<http://scripts.iucr.org/cgi-bin/paper?S1600576714026454>`__).
18+
* The phase quantification of physical mixtures of organics.
19+
* Generate Score/Scree plots based on Principle Component Analysis (PCA).
20+
21+
A video demo about installation and usage is available at
22+
https://www.youtube.com/watch?v=lAFZ5VYEH1g. The code for xINTERPDF
23+
is hosted on `GitHub <https://github.com/curieshicy/xINTERPDF>`__.
24+
25+
.. figure:: ../images/xinterpdf.png
26+
:align: center
27+
28+
This is a first release of the program (v.0.1.0). Comments and
29+
suggestions are welcome. Please send an email to Chenyang Shi at
30+
cs3000@columbia.edu or post your questions to `diffpy-users`_
31+
Google Group.
32+
33+
Getting Started
34+
===============
35+
36+
The xINTERPDF package requires Python 2.7 and the following dependency packages:
37+
38+
* ``NumPy`` - Numerical mathematics and fast array operations for Python
39+
* ``SciPy`` - Scientific libraries for Python
40+
* ``matplotlib`` - Python plotting library
41+
* ``Scikit-Learn`` - Python machine learning library; its PCA module is called.
42+
* ``diffpy-cmi`` - Versatile Python packages for simulation of atomic pair distribution functions
43+
* ``Tkinter`` - Python default library for creation of graphical user interface
44+
45+
See the :doc:`xINTERPDF license <xinterpdflicense>` for terms and conditions of use.
46+
47+
Installation
48+
------------
49+
50+
xINTERPDF can be installed on Linux and Mac OS machines. The recommended
51+
way to install this package is through conda. Please visit
52+
https://www.continuum.io/downloads, and select Python 2.7 version
53+
to download and install. Once conda is installed, you can follow the
54+
steps below to install xINTERPDF.
55+
56+
*Step 1: Add the diffpy conda channel to your conda configuration.* ::
57+
58+
conda config --add channels diffpy
59+
60+
*Step 2: Create a virtural environment and install the program there.* ::
61+
62+
conda create –c curieshicy –n xinterpdf xinterpdf
63+
64+
This command first adds a *curieshicy* channel, then creates a virtual
65+
environment *xinterpdf*, before finally install the *xinterpdf* program.
66+
Note that you can name the environment anything you choose by passing it
67+
a different name after the *-n* flag in the command.
68+
69+
*Step 3: Activate the virtual environment and start the program.* ::
70+
71+
source activate xinterpdf
72+
xinterpdf
73+
74+
The first command starts the virtual environment and the second invokes
75+
the main GUI window of the xINTERPDF program.
76+
77+
User Guide
78+
----------
79+
80+
Please see `user manual <../doc/xinterpdf/xINTERPDF_User_Guide_20180615.pdf>`__
81+
for more details.
82+
83+
References
84+
----------
85+
86+
If you use this software in a research work which leads to publication,
87+
we ask you to acknowledge the use of xINTERPDF by citing the following
88+
papers:
89+
90+
* |citeShiJac18|
91+
* |citeJuhasAca15|
92+
93+
94+
.. include:: ../abbreviations.txt
95+
96+
.. toctree::
97+
:hidden:
98+
99+
xinterpdflicense
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. this page only contains the LICENSE text for xINTERPDF
2+
3+
.. title:: xINTERPDF License
4+
5+
.. literalinclude:: xinterpdflicense.txt
6+
:language: text

_static/basic.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,21 @@ div.sphinxsidebar input {
8282
}
8383

8484
div.sphinxsidebar #searchbox input[type="text"] {
85-
width: 170px;
85+
float: left;
86+
width: 80%;
87+
padding: 0.25em;
88+
box-sizing: border-box;
89+
}
90+
91+
div.sphinxsidebar #searchbox input[type="submit"] {
92+
float: left;
93+
width: 20%;
94+
border-left: none;
95+
padding: 0.25em;
96+
box-sizing: border-box;
8697
}
8798

99+
88100
img {
89101
border: 0;
90102
max-width: 100%;
@@ -199,6 +211,11 @@ table.modindextable td {
199211

200212
/* -- general body styles --------------------------------------------------- */
201213

214+
div.body {
215+
min-width: 450px;
216+
max-width: 800px;
217+
}
218+
202219
div.body p, div.body dd, div.body li, div.body blockquote {
203220
-moz-hyphens: auto;
204221
-ms-hyphens: auto;

_static/doctools.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jQuery.fn.highlightText = function(text, className) {
7070
if (node.nodeType === 3) {
7171
var val = node.nodeValue;
7272
var pos = val.toLowerCase().indexOf(text);
73-
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
73+
if (pos >= 0 &&
74+
!jQuery(node.parentNode).hasClass(className) &&
75+
!jQuery(node.parentNode).hasClass("nohighlight")) {
7476
var span;
7577
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
7678
if (isInSVG) {

_static/documentation_options.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var DOCUMENTATION_OPTIONS = {
2+
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3+
VERSION: '',
4+
LANGUAGE: 'None',
5+
COLLAPSE_INDEX: false,
6+
FILE_SUFFIX: '.html',
7+
HAS_SOURCE: true,
8+
SOURCELINK_SUFFIX: '.txt'
9+
};

0 commit comments

Comments
 (0)