Skip to content

Commit f3b2df4

Browse files
committed
deploy: 5c1641f
1 parent a40ca36 commit f3b2df4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3775
-297
lines changed

.buildinfo

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

_downloads/019d6e377cbbff298dd5aa4d545daaec/Ni_refinement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
43
"""Perform simple refinement of Ni structure to the experimental x-ray PDF.
4+
55
Save fitted curve, refined structure and results summary.
66
"""
77

_downloads/9b61989d5c869cb77d4c6f7fb4d6fc53/Ni_calculation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3+
"""Calculate PDF of FCC nickel.
34
4-
"""Calculate PDF of FCC nickel. Save data to Ni_calculation.cgr and plot it using matplotlib.
5+
Save data to Ni_calculation.cgr and plot it using matplotlib.
56
"""
67

78
import matplotlib.pyplot as plt

_modules/diffpy/pdffit2/ipy_ext.html

Lines changed: 210 additions & 0 deletions
Large diffs are not rendered by default.

_modules/diffpy/pdffit2/output.html

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1+
2+
13
<!DOCTYPE html>
24
<html class="writer-html5" lang="en" data-content_root="../../../">
35
<head>
46
<meta charset="utf-8" />
57
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>diffpy.pdffit2.output &mdash; diffpy.pdffit2 1.4.4rc4 documentation</title>
7-
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
8-
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" />
8+
<title>diffpy.pdffit2.output &mdash; diffpy.pdffit2 1.5.0rc0 documentation</title>
9+
<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" />
911

1012

11-
<!--[if lt IE 9]>
12-
<script src="../../../_static/js/html5shiv.min.js"></script>
13-
<![endif]-->
14-
15-
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
16-
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="../../../_static/documentation_options.js?v=e8a4c7ba"></script>
18-
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
19-
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
13+
<script src="../../../_static/jquery.js?v=5d32c60e"></script>
14+
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
15+
<script src="../../../_static/documentation_options.js?v=c1620c82"></script>
16+
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
17+
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
2018
<script src="../../../_static/js/theme.js"></script>
2119
<link rel="index" title="Index" href="../../../genindex.html" />
2220
<link rel="search" title="Search" href="../../../search.html" />
@@ -33,9 +31,6 @@
3331
<a href="../../../index.html" class="icon icon-home">
3432
diffpy.pdffit2
3533
</a>
36-
<div class="version">
37-
1.4.4rc4
38-
</div>
3934
<div role="search">
4035
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
4136
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
@@ -90,27 +85,28 @@ <h1>Source code for diffpy.pdffit2.output</h1><div class="highlight"><pre>
9085
<span class="c1"># See LICENSE.txt for license information.</span>
9186
<span class="c1">#</span>
9287
<span class="c1">##############################################################################</span>
93-
9488
<span class="sd">&quot;&quot;&quot;Take care of sending engine output to given file-like object.</span>
89+
9590
<span class="sd">The output file is stored in local module variable stdout.</span>
9691
<span class="sd">&quot;&quot;&quot;</span>
9792

9893

9994
<span class="c1"># create module variable stdout</span>
10095

101-
<span class="kn">from</span> <span class="nn">sys</span> <span class="kn">import</span> <span class="n">stdout</span> <span class="k">as</span> <span class="n">stdout</span>
96+
<span class="kn">from</span><span class="w"> </span><span class="nn">sys</span><span class="w"> </span><span class="kn">import</span> <span class="n">stdout</span> <span class="k">as</span> <span class="n">stdout</span>
10297

10398
<span class="c1"># silence pyflakes checker</span>
10499
<span class="k">assert</span> <span class="n">stdout</span>
105100

106101

107102
<div class="viewcode-block" id="redirect_stdout">
108103
<a class="viewcode-back" href="../../../api/diffpy.pdffit2.html#diffpy.pdffit2.output.redirect_stdout">[docs]</a>
109-
<span class="k">def</span> <span class="nf">redirect_stdout</span><span class="p">(</span><span class="n">dst</span><span class="p">):</span>
104+
<span class="k">def</span><span class="w"> </span><span class="nf">redirect_stdout</span><span class="p">(</span><span class="n">dst</span><span class="p">):</span>
110105
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Redirect PDFfit2 standard output to a file-like object dst.</span>
106+
111107
<span class="sd"> The dst value is stored in module variable stdout.</span>
112108
<span class="sd"> &quot;&quot;&quot;</span>
113-
<span class="kn">from</span> <span class="nn">diffpy.pdffit2.pdffit2</span> <span class="kn">import</span> <span class="n">redirect_stdout</span>
109+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.pdffit2.pdffit2</span><span class="w"> </span><span class="kn">import</span> <span class="n">redirect_stdout</span>
114110

115111
<span class="n">redirect_stdout</span><span class="p">(</span><span class="n">dst</span><span class="p">)</span>
116112
<span class="k">global</span> <span class="n">stdout</span>
@@ -119,6 +115,18 @@ <h1>Source code for diffpy.pdffit2.output</h1><div class="highlight"><pre>
119115

120116

121117

118+
<div class="viewcode-block" id="restore_stdout">
119+
<a class="viewcode-back" href="../../../api/diffpy.pdffit2.html#diffpy.pdffit2.output.restore_stdout">[docs]</a>
120+
<span class="k">def</span><span class="w"> </span><span class="nf">restore_stdout</span><span class="p">():</span>
121+
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Restore the standard output.&quot;&quot;&quot;</span>
122+
<span class="kn">from</span><span class="w"> </span><span class="nn">diffpy.pdffit2.pdffit2</span><span class="w"> </span><span class="kn">import</span> <span class="n">restore_stdout</span>
123+
124+
<span class="n">restore_stdout</span><span class="p">()</span>
125+
<span class="k">global</span> <span class="n">stdout</span>
126+
<span class="k">return</span></div>
127+
128+
129+
122130
<span class="c1"># End of file</span>
123131
</pre></div>
124132

@@ -129,7 +137,7 @@ <h1>Source code for diffpy.pdffit2.output</h1><div class="highlight"><pre>
129137
<hr/>
130138

131139
<div role="contentinfo">
132-
<p>&#169; Copyright 2024, The Trustees of Columbia University in the City of New York.</p>
140+
<p>&#169; Copyright 2025, The Trustees of Columbia University in the City of New York.</p>
133141
</div>
134142

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

0 commit comments

Comments
 (0)