Skip to content

Commit bc835bf

Browse files
committed
deploy: 1163ae8
1 parent db35489 commit bc835bf

38 files changed

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

_modules/diffpy/utils/diffraction_objects.html

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.diffraction_objects &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.diffraction_objects &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -490,26 +490,29 @@ <h1>Source code for diffpy.utils.diffraction_objects</h1><div class="highlight">
490490

491491
<div class="viewcode-block" id="DiffractionObject.get_array_index">
492492
<a class="viewcode-back" href="../../../api/diffpy.utils.html#diffpy.utils.diffraction_objects.DiffractionObject.get_array_index">[docs]</a>
493-
<span class="k">def</span><span class="w"> </span><span class="nf">get_array_index</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">xtype</span><span class="p">,</span> <span class="n">xvalue</span><span class="p">):</span>
494-
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Return the index of the closest value in the array associated with</span>
495-
<span class="sd"> the specified xtype and the value provided.</span>
496-
497-
<span class="sd"> Parameters</span>
498-
<span class="sd"> ----------</span>
499-
<span class="sd"> xtype : str</span>
500-
<span class="sd"> The type of the independent variable in `xarray`. Must be one</span>
501-
<span class="sd"> of {*XQUANTITIES}.</span>
502-
<span class="sd"> xvalue : float</span>
503-
<span class="sd"> The value of the xtype to find the closest index for.</span>
504-
505-
<span class="sd"> Returns</span>
506-
<span class="sd"> -------</span>
507-
<span class="sd"> index : int</span>
508-
<span class="sd"> The index of the closest value in the array associated with the</span>
509-
<span class="sd"> specified xtype and the value provided.</span>
510-
<span class="sd"> &quot;&quot;&quot;</span>
511-
512-
<span class="n">xtype</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_input_xtype</span>
493+
<span class="k">def</span><span class="w"> </span><span class="nf">get_array_index</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">xvalue</span><span class="p">,</span> <span class="n">xtype</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
494+
<span class="sa">f</span><span class="s2">&quot;&quot;&quot;Return the index of the closest value in the array associated with</span>
495+
<span class="s2"> the specified xtype and the value provided.</span>
496+
497+
<span class="s2"> Parameters</span>
498+
<span class="s2"> ----------</span>
499+
<span class="s2"> xvalue : float</span>
500+
<span class="s2"> The value of the xtype to find the closest index for.</span>
501+
<span class="s2"> xtype : str, optional</span>
502+
<span class="s2"> The type of the independent variable in `xarray`. Must be one</span>
503+
<span class="s2"> of </span><span class="si">{</span><span class="o">*</span><span class="n">XQUANTITIES</span><span class="p">,</span><span class="w"> </span><span class="si">}</span><span class="s2">. Default is </span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">_input_xtype</span><span class="si">}</span>
504+
505+
<span class="s2"> Returns</span>
506+
<span class="s2"> -------</span>
507+
<span class="s2"> index : int</span>
508+
<span class="s2"> The index of the closest value in the array associated with the</span>
509+
<span class="s2"> specified xtype and the value provided.</span>
510+
<span class="s2"> &quot;&quot;&quot;</span>
511+
<span class="k">if</span> <span class="n">xtype</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
512+
<span class="n">xtype</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_input_xtype</span>
513+
<span class="k">else</span><span class="p">:</span>
514+
<span class="k">if</span> <span class="n">xtype</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">XQUANTITIES</span><span class="p">:</span>
515+
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="n">_xtype_wmsg</span><span class="p">(</span><span class="n">xtype</span><span class="p">))</span>
513516
<span class="n">xarray</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">on_xtype</span><span class="p">(</span><span class="n">xtype</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span>
514517
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">xarray</span><span class="p">)</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
515518
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>

_modules/diffpy/utils/parsers/custom_exceptions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.parsers.custom_exceptions &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.parsers.custom_exceptions &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/parsers/loaddata.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.parsers.loaddata &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.parsers.loaddata &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/parsers/serialization.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.parsers.serialization &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.parsers.serialization &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/resampler.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.resampler &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.resampler &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/tools.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.tools &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.tools &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/transforms.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.transforms &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.transforms &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/diffpy/utils/validators.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>diffpy.utils.validators &mdash; diffpy.utils 3.6.1rc0 documentation</title>
8+
<title>diffpy.utils.validators &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../../../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../../../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>

_modules/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
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.utils 3.6.1rc0 documentation</title>
8+
<title>Overview: module code &mdash; diffpy.utils 3.6.1rc1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=e59714d7" />
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=4cdc70cc"></script>
16+
<script src="../_static/documentation_options.js?v=e59c04aa"></script>
1717
<script src="../_static/doctools.js?v=9bcbadda"></script>
1818
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>

0 commit comments

Comments
 (0)