Skip to content

Commit

Permalink
Deploying to gh-pages from @ bbff391 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Jul 26, 2024
1 parent 2f7c3b2 commit f3b6267
Show file tree
Hide file tree
Showing 58 changed files with 369 additions and 220 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 71263f5a5287b6efc31102958928aa09
config: c2890eadd3f6df9eefeba2536d630529
tags: 645f666f9bcd5a90fca523b33c5a78b7
10 changes: 5 additions & 5 deletions _collections/notebooks/00-MOCpy_introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>MOCPy introduction &#8212; MOCPy 0.16.1 documentation</title>
<title>MOCPy introduction &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -480,7 +480,7 @@ <h1>Useful links<a class="headerlink" href="#Useful-links" title="Link to this h
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
10 changes: 5 additions & 5 deletions _collections/notebooks/01-Creating_MOCs_from_shapes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Creating Space-MOCs from shapes &#8212; MOCPy 0.16.1 documentation</title>
<title>Creating Space-MOCs from shapes &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -502,7 +502,7 @@ <h2>Create MOCs from polygon(s)<a class="headerlink" href="#Create-MOCs-from-pol
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
42 changes: 32 additions & 10 deletions _collections/notebooks/02-Creating_MOCs_from_astropy_regions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Creating MOCs out of astropy-regions. &#8212; MOCPy 0.16.1 documentation</title>
<title>Creating MOCs out of astropy-regions. &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -160,22 +160,37 @@ <h2>Ellipses<a class="headerlink" href="#Ellipses" title="Link to this heading">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[5]:
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>ellipse = regions.EllipseSkyRegion(center, 3 * u.deg, 6 * u.deg, 10 * u.deg)
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>angle = 50 * u.deg

ellipse = regions.EllipseSkyRegion(center, 3 * u.deg, 6 * u.deg, angle)
ellipse_swapped = regions.EllipseSkyRegion(center, 6 * u.deg, 3 * u.deg, angle)
moc_ellipse = MOC.from_astropy_regions(ellipse, max_depth=9)
moc_ellipse_swapped = MOC.from_astropy_regions(ellipse_swapped, max_depth=9)

fig = plt.figure(figsize=(5, 5))
wcs = moc_ellipse.wcs(fig)
ax = fig.add_subplot(projection=wcs)
moc_ellipse.border(ax, wcs)
ellipse.to_pixel(wcs).plot();
moc_ellipse_swapped.border(ax, wcs, color=&quot;red&quot;)
ellipse.to_pixel(wcs).plot()
ellipse_swapped.to_pixel(wcs).plot(color=&quot;r&quot;);
</pre></div>
</div>
</div>
<div class="nboutput docutils container">
<div class="prompt empty docutils container">
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
50.0 deg
140d00m00s
</pre></div></div>
</div>
<div class="nboutput nblast docutils container">
<div class="prompt empty docutils container">
</div>
<div class="output_area docutils container">
<img alt="../../_images/_collections_notebooks_02-Creating_MOCs_from_astropy_regions_7_0.png" src="../../_images/_collections_notebooks_02-Creating_MOCs_from_astropy_regions_7_0.png" />
<img alt="../../_images/_collections_notebooks_02-Creating_MOCs_from_astropy_regions_7_1.png" src="../../_images/_collections_notebooks_02-Creating_MOCs_from_astropy_regions_7_1.png" />
</div>
</div>
</section>
Expand All @@ -185,14 +200,21 @@ <h2>Rectangles/Box<a class="headerlink" href="#Rectangles/Box" title="Link to th
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[6]:
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>box = regions.RectangleSkyRegion(center, 12 * u.deg, 6 * u.deg, 10 * u.deg)
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>angle = 60 * u.deg


box = regions.RectangleSkyRegion(center, 12 * u.deg, 6 * u.deg, angle)
box_swapped = regions.RectangleSkyRegion(center, 6 * u.deg, 12 * u.deg, angle)
moc_box = MOC.from_astropy_regions(box, max_depth=8)
moc_box_swapped = MOC.from_astropy_regions(box_swapped, max_depth=8)

fig = plt.figure(figsize=(5, 5))
wcs = moc_box.wcs(fig)
ax = fig.add_subplot(projection=wcs)
moc_box.border(ax, wcs)
box.to_pixel(wcs).plot();
moc_box_swapped.border(ax, wcs, color=&quot;teal&quot;)
box.to_pixel(wcs).plot()
box_swapped.to_pixel(wcs).plot(color=&quot;teal&quot;);
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -309,7 +331,7 @@ <h2>Points<a class="headerlink" href="#Points" title="Link to this heading">¶</
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
41 changes: 31 additions & 10 deletions _collections/notebooks/02-Creating_MOCs_from_astropy_regions.ipynb

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions _collections/notebooks/FITS-image-pixels-intersecting-MOC.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Overlay the MOC of Spitzer on a 2MASS cutout &#8212; MOCPy 0.16.1 documentation</title>
<title>Overlay the MOC of Spitzer on a 2MASS cutout &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -136,7 +136,7 @@ <h1>Overlay the MOC of Spitzer on a 2MASS cutout<a class="headerlink" href="#Ove
im = ax.imshow(
hdu[0].data,
origin=&quot;lower&quot;,
norm=simple_norm(hdu[0].data, &quot;sqrt&quot;, min_cut=0, max_cut=150),
norm=simple_norm(hdu[0].data, &quot;sqrt&quot;, vmin=0, vmax=150),
)
</pre></div>
</div>
Expand Down Expand Up @@ -198,7 +198,7 @@ <h1>Overlay the MOC of Spitzer on a 2MASS cutout<a class="headerlink" href="#Ove
im = ax.imshow(
img_test,
origin=&quot;lower&quot;,
norm=simple_norm(hdu[0].data, &quot;sqrt&quot;, min_cut=0, max_cut=150),
norm=simple_norm(hdu[0].data, &quot;sqrt&quot;, vmin=0, vmax=150),
)
</pre></div>
</div>
Expand Down Expand Up @@ -273,7 +273,7 @@ <h1>Overlay the MOC of Spitzer on a 2MASS cutout<a class="headerlink" href="#Ove
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"im = ax.imshow(\n",
" hdu[0].data,\n",
" origin=\"lower\",\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", min_cut=0, max_cut=150),\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", vmin=0, vmax=150),\n",
")"
]
},
Expand Down Expand Up @@ -148,7 +148,7 @@
"im = ax.imshow(\n",
" img_test,\n",
" origin=\"lower\",\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", min_cut=0, max_cut=150),\n",
" norm=simple_norm(hdu[0].data, \"sqrt\", vmin=0, vmax=150),\n",
")"
]
},
Expand Down
10 changes: 5 additions & 5 deletions _collections/notebooks/First_Steps_with_FMOCs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>First steps with Frequency MOCs &#8212; MOCPy 0.16.1 documentation</title>
<title>First steps with Frequency MOCs &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -239,7 +239,7 @@ <h1>First steps with Frequency MOCs<a class="headerlink" href="#First-steps-with
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
10 changes: 5 additions & 5 deletions _collections/notebooks/STMOC from time ranges.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>Space and time MOC &#8212; MOCPy 0.16.1 documentation</title>
<title>Space and time MOC &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -215,7 +215,7 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
10 changes: 5 additions & 5 deletions _collections/notebooks/Space & Time coverages.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title># Space &amp; Time coverages &#8212; MOCPy 0.16.1 documentation</title>
<title># Space &amp; Time coverages &#8212; MOCPy 0.16.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/mocpy.css?v=b2680190" />
<link rel="stylesheet" type="text/css" href="../../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="../../_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="../../_static/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=d9901acd"></script>
<script src="../../_static/documentation_options.js?v=ee6890a7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h3>Navigation</h3>
|
</li>
<li>
<a href="../../index.html">MOCPy 0.16.1 documentation</a>
<a href="../../index.html">MOCPy 0.16.2 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -597,7 +597,7 @@ <h3>5. Vizualize a Space-Time coverage interactively<a class="headerlink" href="
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Matthieu Baumann &lt;[email protected]&gt; Thomas Boch &lt;[email protected]&gt; Manon Marchand &lt;[email protected]&gt; F.-X. Pineau &lt;[email protected]&gt;.<br/>
Last built 18 Jul 2024. <br/>
Last built 26 Jul 2024. <br/>
</p>
</footer>
</body>
Expand Down
Loading

0 comments on commit f3b6267

Please sign in to comment.