Skip to content

Commit 63bdeea

Browse files
committed
include optional seeding of random number generator in spherical harmonic noise function for reproducability and parallel noise production
1 parent a410284 commit 63bdeea

File tree

15 files changed

+33
-28
lines changed

15 files changed

+33
-28
lines changed

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '0.9.3',
3+
VERSION: '0.9.4',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

docs/chebyshev.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
88

9-
<title>chebyshev &#8212; orthopoly 0.9.3 documentation</title>
9+
<title>chebyshev &#8212; orthopoly 0.9.4 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1111
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1212
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -20,7 +20,7 @@
2020
<link rel="prev" title="Welcome to orthopoly’s documentation!" href="index.html" />
2121
</head><body>
2222
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
23-
<span>orthopoly 0.9.3 documentation</span></a></h1>
23+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2424
<h2 class="heading"><span>chebyshev</span></h2>
2525
</div>
2626
<div class="topnav" role="navigation" aria-label="top navigation">

docs/gegenbauer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
88

9-
<title>gegenbauer &#8212; orthopoly 0.9.3 documentation</title>
9+
<title>gegenbauer &#8212; orthopoly 0.9.4 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1111
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1212
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -20,7 +20,7 @@
2020
<link rel="prev" title="chebyshev" href="chebyshev.html" />
2121
</head><body>
2222
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
23-
<span>orthopoly 0.9.3 documentation</span></a></h1>
23+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2424
<h2 class="heading"><span>gegenbauer</span></h2>
2525
</div>
2626
<div class="topnav" role="navigation" aria-label="top navigation">

docs/genindex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Index &#8212; orthopoly 0.9.3 documentation</title>
8+
<title>Index &#8212; orthopoly 0.9.4 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1111
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -16,7 +16,7 @@
1616
<link rel="search" title="Search" href="search.html" />
1717
</head><body>
1818
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
19-
<span>orthopoly 0.9.3 documentation</span></a></h1>
19+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2020
<h2 class="heading"><span>Index</span></h2>
2121
</div>
2222
<div class="topnav" role="navigation" aria-label="top navigation">

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
88

9-
<title>Welcome to orthopoly’s documentation! &#8212; orthopoly 0.9.3 documentation</title>
9+
<title>Welcome to orthopoly’s documentation! &#8212; orthopoly 0.9.4 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1111
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1212
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -19,7 +19,7 @@
1919
<link rel="next" title="chebyshev" href="chebyshev.html" />
2020
</head><body>
2121
<div class="header" role="banner"><h1 class="heading"><a href="#">
22-
<span>orthopoly 0.9.3 documentation</span></a></h1>
22+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2323
<h2 class="heading"><span>Welcome to orthopoly’s documentation!</span></h2>
2424
</div>
2525
<div class="topnav" role="navigation" aria-label="top navigation">

docs/legendre.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
88

9-
<title>legendre &#8212; orthopoly 0.9.3 documentation</title>
9+
<title>legendre &#8212; orthopoly 0.9.4 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1111
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1212
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -20,7 +20,7 @@
2020
<link rel="prev" title="gegenbauer" href="gegenbauer.html" />
2121
</head><body>
2222
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
23-
<span>orthopoly 0.9.3 documentation</span></a></h1>
23+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2424
<h2 class="heading"><span>legendre</span></h2>
2525
</div>
2626
<div class="topnav" role="navigation" aria-label="top navigation">

docs/py-modindex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Python Module Index &#8212; orthopoly 0.9.3 documentation</title>
8+
<title>Python Module Index &#8212; orthopoly 0.9.4 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1111
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -19,7 +19,7 @@
1919

2020
</head><body>
2121
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
22-
<span>orthopoly 0.9.3 documentation</span></a></h1>
22+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2323
<h2 class="heading"><span>Python Module Index</span></h2>
2424
</div>
2525
<div class="topnav" role="navigation" aria-label="top navigation">

docs/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Search &#8212; orthopoly 0.9.3 documentation</title>
8+
<title>Search &#8212; orthopoly 0.9.4 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1111

@@ -22,7 +22,7 @@
2222

2323
</head><body>
2424
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
25-
<span>orthopoly 0.9.3 documentation</span></a></h1>
25+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2626
<h2 class="heading"><span>Search</span></h2>
2727
</div>
2828
<div class="topnav" role="navigation" aria-label="top navigation">

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/spherical_harmonic.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
88

9-
<title>spherical_harmonic &#8212; orthopoly 0.9.3 documentation</title>
9+
<title>spherical_harmonic &#8212; orthopoly 0.9.4 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
1111
<link rel="stylesheet" type="text/css" href="_static/haiku.css" />
1212
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
@@ -20,7 +20,7 @@
2020
<link rel="prev" title="legendre" href="legendre.html" />
2121
</head><body>
2222
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
23-
<span>orthopoly 0.9.3 documentation</span></a></h1>
23+
<span>orthopoly 0.9.4 documentation</span></a></h1>
2424
<h2 class="heading"><span>spherical_harmonic</span></h2>
2525
</div>
2626
<div class="topnav" role="navigation" aria-label="top navigation">
@@ -483,7 +483,7 @@ <h2 class="heading"><span>spherical_harmonic</span></h2>
483483

484484
<dl class="py function">
485485
<dt class="sig sig-object py" id="orthopoly.spherical_harmonic.noise">
486-
<span class="sig-prename descclassname"><span class="pre">orthopoly.spherical_harmonic.</span></span><span class="sig-name descname"><span class="pre">noise</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">N</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tol</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1e-12</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#orthopoly.spherical_harmonic.noise" title="Permalink to this definition"></a></dt>
486+
<span class="sig-prename descclassname"><span class="pre">orthopoly.spherical_harmonic.</span></span><span class="sig-name descname"><span class="pre">noise</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">N</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tol</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1e-12</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">seed</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#orthopoly.spherical_harmonic.noise" title="Permalink to this definition"></a></dt>
487487
<dd><p>Generates the coefficients for a random triangular spherical harmonic expansion with a specific relationship between the degree and the power spectral density (noise)</p>
488488
<dl class="field-list simple">
489489
<dt class="field-odd">Parameters</dt>
@@ -499,6 +499,7 @@ <h2 class="heading"><span>spherical_harmonic</span></h2>
499499
</ul>
500500
</p></li>
501501
<li><p><strong>tol</strong> (<em>float</em>) – bisection method relative tolerance when normalizing across a single degree’s coefficients for the total power</p></li>
502+
<li><p><strong>seed</strong> (<em>int</em>) – optional seed for random number generator</p></li>
502503
</ul>
503504
</dd>
504505
<dt class="field-even">Returns</dt>

0 commit comments

Comments
 (0)