Skip to content

Commit efd4d82

Browse files
committed
deploy: 45d87f5
1 parent 3560bf9 commit efd4d82

23 files changed

Lines changed: 1903 additions & 464 deletions

.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 records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: c3b663f9a6160da4cf3c4a928f873cd7
3+
config: 62fe4e05ebb793c1d0e6a08343b10440
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_modules/diffpy/pdffit2/output.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.pdffit2.output &mdash; diffpy.pdffit2 1.5.2rc1 documentation</title>
8+
<title>diffpy.pdffit2.output &mdash; diffpy.pdffit2 1.6.0rc0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
10-
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
10+
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=9edc463e" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=8b88ec56"></script>
17-
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
18-
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
16+
<script src="../../../_static/documentation_options.js?v=1d834b09"></script>
17+
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
18+
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
2020
<script src="../../../_static/copybutton.js?v=cca77546"></script>
2121
<script src="../../../_static/js/theme.js"></script>
@@ -128,7 +128,7 @@ <h1>Source code for diffpy.pdffit2.output</h1><div class="highlight"><pre>
128128
<hr/>
129129

130130
<div role="contentinfo">
131-
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
131+
<p>&#169; Copyright 2026, The Trustees of Columbia University in the City of New York.</p>
132132
</div>
133133

134134
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

_modules/diffpy/pdffit2/pdffit.html

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.pdffit2.pdffit &mdash; diffpy.pdffit2 1.5.2rc1 documentation</title>
8+
<title>diffpy.pdffit2.pdffit &mdash; diffpy.pdffit2 1.6.0rc0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
10-
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
10+
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=9edc463e" />
1111
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
1212

1313

1414
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../../../_static/documentation_options.js?v=8b88ec56"></script>
17-
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
18-
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
16+
<script src="../../../_static/documentation_options.js?v=1d834b09"></script>
17+
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
18+
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
2020
<script src="../../../_static/copybutton.js?v=cca77546"></script>
2121
<script src="../../../_static/js/theme.js"></script>
@@ -306,8 +306,7 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
306306

307307
<span class="sd"> data -- name of file from which to read data</span>
308308
<span class="sd"> stype -- &#39;X&#39; (xray) or &#39;N&#39; (neutron)</span>
309-
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation.</span>
310-
<span class="sd"> Use qmax=0 to neglect termination ripples.</span>
309+
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation. Use qmax=0 to neglect termination ripples.</span>
311310
<span class="sd"> qdamp -- instrumental Q-resolution factor</span>
312311

313312
<span class="sd"> Raises: IOError when the file cannot be read from disk</span>
@@ -325,8 +324,7 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
325324

326325
<span class="sd"> data -- string containing the contents of the data file</span>
327326
<span class="sd"> stype -- &#39;X&#39; (xray) or &#39;N&#39; (neutron)</span>
328-
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation.</span>
329-
<span class="sd"> Use qmax=0 to neglect termination ripples.</span>
327+
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation. Use qmax=0 to neglect termination ripples.</span>
330328
<span class="sd"> qdamp -- instrumental Q-resolution factor</span>
331329
<span class="sd"> name -- tag with which to label data</span>
332330
<span class="sd"> &quot;&quot;&quot;</span>
@@ -348,8 +346,7 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
348346

349347
<span class="sd"> All lists must be of the same length.</span>
350348
<span class="sd"> stype -- &#39;X&#39; (xray) or &#39;N&#39; (neutron)</span>
351-
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation.</span>
352-
<span class="sd"> Use qmax=0 to neglect termination ripples.</span>
349+
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation. Use qmax=0 to neglect termination ripples.</span>
353350
<span class="sd"> qdamp -- instrumental Q-resolution factor</span>
354351
<span class="sd"> r_data -- list of r-values</span>
355352
<span class="sd"> Gr_data -- list of G(r) values</span>
@@ -405,9 +402,9 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
405402

406403
<span class="sd"> The structure from which to calculate the PDF must first be imported</span>
407404
<span class="sd"> with the read_struct() or read_struct_string() method.</span>
405+
408406
<span class="sd"> stype -- &#39;X&#39; (xray) or &#39;N&#39; (neutron)</span>
409-
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation.</span>
410-
<span class="sd"> Use qmax=0 to neglect termination ripples.</span>
407+
<span class="sd"> qmax -- Q-value cutoff used in PDF calculation. Use qmax=0 to neglect termination ripples.</span>
411408
<span class="sd"> qdamp -- instrumental Q-resolution factor</span>
412409
<span class="sd"> rmin -- minimum r-value of calculation</span>
413410
<span class="sd"> rmax -- maximum r-value of calculation</span>
@@ -643,24 +640,29 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
643640
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Constrain(var, par[, fcon]) --&gt; Constrain a variable to a parameter.</span>
644641

645642
<span class="sd"> A variable can be constrained to a number or equation string.</span>
646-
<span class="sd"> var -- variable to constrain, such as x(1)</span>
647-
<span class="sd"> par -- parameter which to constrain the variable. This can be</span>
648-
<span class="sd"> an integer or an equation string containing a reference</span>
649-
<span class="sd"> to another parameter. Equation strings use standard c++</span>
650-
<span class="sd"> syntax. The value of a constrained parameter is accessed</span>
651-
<span class="sd"> as @p in an equation string, where p is the parameter.</span>
652-
<span class="sd"> e.g.</span>
653-
<span class="sd"> &gt;&gt;&gt; constrain(x(1), 1)</span>
654-
<span class="sd"> &gt;&gt;&gt; constrain(x(2), &quot;0.5+@1&quot;)</span>
655-
<span class="sd"> fcon -- &#39;USER&#39;, &#39;IDENT&#39;, &#39;FCOMP&#39;, or &#39;FSQR&#39;</span>
656-
<span class="sd"> this is an optional parameter, and I don&#39;t know how it is</span>
657-
<span class="sd"> used!</span>
658643

659-
<span class="sd"> Raises:</span>
660-
<span class="sd"> pdffit2.constraintError if a constraint is bad</span>
661-
<span class="sd"> pdffit2.unassignedError if variable does not yet exist</span>
662-
<span class="sd"> ValueError if variable index does not exist (e.g. lat(7))</span>
644+
<span class="sd"> :param var: variable to constrain, such as x(1)</span>
645+
<span class="sd"> :param par: parameter which to constrain the variable. This can be an</span>
646+
<span class="sd"> integer or an equation string containing a reference to</span>
647+
<span class="sd"> another parameter. Equation strings use standard C++</span>
648+
<span class="sd"> syntax. The value of a constrained parameter is accessed</span>
649+
<span class="sd"> as ``@p`` in an equation string, where ``p`` is the</span>
650+
<span class="sd"> parameter.</span>
651+
<span class="sd"> :type par: int or str</span>
652+
<span class="sd"> :param fcon: &#39;USER&#39;, &#39;IDENT&#39;, &#39;FCOMP&#39;, or &#39;FSQR&#39;. This is an optional</span>
653+
<span class="sd"> parameter; usage is currently unclear.</span>
654+
<span class="sd"> :type fcon: str</span>
655+
656+
<span class="sd"> Example::</span>
657+
658+
<span class="sd"> &gt;&gt;&gt; constrain(x(1), 1)</span>
659+
<span class="sd"> &gt;&gt;&gt; constrain(x(2), &quot;0.5+@1&quot;)</span>
660+
661+
<span class="sd"> :raises pdffit2.constraintError: if a constraint is bad</span>
662+
<span class="sd"> :raises pdffit2.unassignedError: if variable does not yet exist</span>
663+
<span class="sd"> :raises ValueError: if variable index does not exist (e.g. lat(7))</span>
663664
<span class="sd"> &quot;&quot;&quot;</span>
665+
664666
<span class="n">var_ref</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">__getRef</span><span class="p">(</span><span class="n">var</span><span class="p">)</span>
665667
<span class="n">varnc</span> <span class="o">=</span> <span class="n">_convertCallable</span><span class="p">(</span><span class="n">var</span><span class="p">)</span>
666668
<span class="k">if</span> <span class="n">fcon</span><span class="p">:</span>
@@ -1666,7 +1668,7 @@ <h1>Source code for diffpy.pdffit2.pdffit</h1><div class="highlight"><pre>
16661668
<hr/>
16671669

16681670
<div role="contentinfo">
1669-
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
1671+
<p>&#169; Copyright 2026, The Trustees of Columbia University in the City of New York.</p>
16701672
</div>
16711673

16721674
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

_modules/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Overview: module code &mdash; diffpy.pdffit2 1.5.2rc1 documentation</title>
8+
<title>Overview: module code &mdash; diffpy.pdffit2 1.6.0rc0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
10-
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
10+
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=9edc463e" />
1111
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
1212

1313

1414
<script src="../_static/jquery.js?v=5d32c60e"></script>
1515
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="../_static/documentation_options.js?v=8b88ec56"></script>
17-
<script src="../_static/doctools.js?v=9bcbadda"></script>
18-
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
16+
<script src="../_static/documentation_options.js?v=1d834b09"></script>
17+
<script src="../_static/doctools.js?v=fd6eb6e6"></script>
18+
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
1919
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
2020
<script src="../_static/copybutton.js?v=cca77546"></script>
2121
<script src="../_static/js/theme.js"></script>
@@ -84,7 +84,7 @@ <h1>All modules for which code is available</h1>
8484
<hr/>
8585

8686
<div role="contentinfo">
87-
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
87+
<p>&#169; Copyright 2026, The Trustees of Columbia University in the City of New York.</p>
8888
</div>
8989

9090
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

_sources/license.rst.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ If you use this program to do productive scientific research that leads
1212
to publication, we ask that you acknowledge use of the program by citing
1313
the following paper in your publication:
1414

15-
C. L. Farrow, P. Juhás, J. W. Liu, D. Bryndin, E. S. Božin, J. Bloch, Th. Proffen
16-
and S. J. L. Billinge, PDFfit2 and PDFgui: computer programs for studying nanostructure
17-
in crystals (https://stacks.iop.org/0953-8984/19/335219), *J. Phys.: Condens. Matter*, 19, 335219 (2007)
15+
```
16+
C. L. Farrow, P. Juhás, J. W. Liu, D. Bryndin, E. S. Božin, J. Bloch, Th. Proffen
17+
and S. J. L. Billinge, PDFfit2 and PDFgui: computer programs for studying nanostructure
18+
in crystals (https://stacks.iop.org/0953-8984/19/335219), *J. Phys.: Condens. Matter*, 19, 335219 (2007)
19+
```
1820

1921
Copyright 2006-2007, Board of Trustees of Michigan State University,
20-
Copyright 2008-2025, Board of Trustees of Columbia University in the
21-
city of New York. (Copyright holder indicated in each source file).
22+
Copyright 2008-2025, Board of Trustees of Columbia University in the city of New York.
23+
(Copyright holder indicated in each source file).
2224

2325
For more information please visit the project web-page:
24-
http://www.diffpy.org/
25-
or email Prof. Simon Billinge at sb2896@columbia.edu
26+
[http://www.diffpy.org/](http://www.diffpy.org/)
27+
or email Prof. Simon Billinge at [sb2896@columbia.edu](mailto:sb2896@columbia.edu)
2628

2729
Redistribution and use in source and binary forms, with or without
2830
modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)