Skip to content

Commit

Permalink
build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Apr 5, 2024
1 parent ded0eb7 commit 9f17d31
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/history.doctree
Binary file not shown.
5 changes: 4 additions & 1 deletion docs/_build/html/_modules/galsim/wcs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ <h1>Source code for galsim.wcs</h1><div class="highlight"><pre>

<span class="c1"># If the class doesn&#39;t define something else, then we can approximate the local Jacobian</span>
<span class="c1"># from finite differences for the derivatives of ra and dec. Very similar to the</span>
<span class="c1"># version for EuclideanWCS, but convert from dra, ddec to du, dv locallat at the given</span>
<span class="c1"># version for EuclideanWCS, but convert from dra, ddec to du, dv locally at at the given</span>
<span class="c1"># position.</span>
<span class="k">def</span> <span class="nf">_local</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">image_pos</span><span class="p">,</span> <span class="n">color</span><span class="p">):</span>

Expand All @@ -1452,6 +1452,9 @@ <h1>Source code for galsim.wcs</h1><div class="highlight"><pre>
<span class="n">xlist</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span> <span class="n">x0</span><span class="p">,</span> <span class="n">x0</span><span class="o">+</span><span class="n">dx</span><span class="p">,</span> <span class="n">x0</span><span class="o">-</span><span class="n">dx</span><span class="p">,</span> <span class="n">x0</span><span class="p">,</span> <span class="n">x0</span> <span class="p">],</span> <span class="n">dtype</span><span class="o">=</span><span class="nb">float</span><span class="p">)</span>
<span class="n">ylist</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span> <span class="n">y0</span><span class="p">,</span> <span class="n">y0</span><span class="p">,</span> <span class="n">y0</span><span class="p">,</span> <span class="n">y0</span><span class="o">+</span><span class="n">dy</span><span class="p">,</span> <span class="n">y0</span><span class="o">-</span><span class="n">dy</span> <span class="p">],</span> <span class="n">dtype</span><span class="o">=</span><span class="nb">float</span><span class="p">)</span>
<span class="n">ra</span><span class="p">,</span> <span class="n">dec</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_radec</span><span class="p">(</span><span class="n">xlist</span><span class="p">,</span><span class="n">ylist</span><span class="p">,</span><span class="n">color</span><span class="p">)</span>
<span class="c1"># Wrap ra to be near ra[0]</span>
<span class="n">ra</span><span class="p">[</span><span class="n">ra</span> <span class="o">&lt;</span> <span class="n">ra</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">-</span><span class="n">np</span><span class="o">.</span><span class="n">pi</span><span class="p">]</span> <span class="o">+=</span> <span class="mi">2</span><span class="o">*</span><span class="n">np</span><span class="o">.</span><span class="n">pi</span>
<span class="n">ra</span><span class="p">[</span><span class="n">ra</span> <span class="o">&gt;</span> <span class="n">ra</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span><span class="o">+</span><span class="n">np</span><span class="o">.</span><span class="n">pi</span><span class="p">]</span> <span class="o">-=</span> <span class="mi">2</span><span class="o">*</span><span class="n">np</span><span class="o">.</span><span class="n">pi</span>

<span class="c1"># Note: our convention is that ra increases to the left!</span>
<span class="c1"># i.e. The u,v plane is the tangent plane as seen from Earth with +v pointing</span>
Expand Down
1 change: 1 addition & 0 deletions docs/_build/html/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ <h2>Changes from v2.5.1 to v2.5.2<a class="headerlink" href="#changes-from-v2-5-
<li><p>Added observed_e1, observed_e2 properties to the hsm.ShapeData structure. (#1279)</p></li>
<li><p>Added check=False option to hsm routines FindAdaptiveMom and EstimateShdear. (#1279)</p></li>
<li><p>Fixed a bug in the use of evaluated template strings in the config dict. (#1281)</p></li>
<li><p>Fixed a bug in CelestialWCS computation of the local jacobian near ra=0. (#1282)</p></li>
</ul>
</section>
<section id="older-versions">
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 9f17d31

Please sign in to comment.