Skip to content

Commit

Permalink
Deploying to gh-pages from @ 38fc093 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Dec 4, 2023
1 parent 065ca25 commit 5b048d6
Show file tree
Hide file tree
Showing 100 changed files with 2,687 additions and 169,422 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: 4d5ac573c37e2cd08cc5c72be4182d3f
config: c976f008b57b0ebcf217230919f4925d
tags: 645f666f9bcd5a90fca523b33c5a78b7
185 changes: 48 additions & 137 deletions _collections/notebooks/00-MOCpy_introduction.html

Large diffs are not rendered by default.

84,027 changes: 49 additions & 83,978 deletions _collections/notebooks/00-MOCpy_introduction.ipynb

Large diffs are not rendered by default.

24 changes: 13 additions & 11 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.13.0 documentation</title>
<title>Overlay the MOC of Spitzer on a 2MASS cutout &#8212; MOCPy 0.13.1 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/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=1019fba8"></script>
<script src="../../_static/documentation_options.js?v=b4617fb1"></script>
<script src="../../_static/doctools.js?v=888ff710"></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.13.0 documentation</a>
<a href="../../index.html">MOCPy 0.13.1 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand All @@ -87,13 +87,13 @@ <h1>Overlay the MOC of Spitzer on a 2MASS cutout<a class="headerlink" href="#Ove
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>from astropy.io import fits
from astropy.wcs import WCS as WCS
from mocpy import MOC
from astropy.visualization import simple_norm
import astropy.units as u
import numpy as np
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>import astropy.units as u
import matplotlib.pyplot as plt
import numpy as np
from astropy.io import fits
from astropy.visualization import simple_norm
from astropy.wcs import WCS
from mocpy import MOC
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -255,7 +255,9 @@ <h1>Overlay the MOC of Spitzer on a 2MASS cutout<a class="headerlink" href="#Ove
14976694.0
</pre></div></div>
</div>
</section>
<script type="application/vnd.jupyter.widget-state+json">
{"state": {}, "version_major": 2, "version_minor": 0}
</script></section>


<div class="clearer"></div>
Expand All @@ -280,7 +282,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 2023, Matthieu Baumann &lt;matthieu.baumann@astro.unistra.fr&gt; Thomas Boch &lt;thomas.boch@astro.unistra.fr&gt; Manon Marchand &lt;manon.marchand@astro.unistra.fr&gt; F.-X. Pineau &lt;francois-xavier.pineau@astro.unistra.fr&gt;.<br/>
Last built 29 Aug 2023. <br/>
Last built 04 Dec 2023. <br/>
</p>
</footer>
</body>
Expand Down
23 changes: 15 additions & 8 deletions _collections/notebooks/FITS-image-pixels-intersecting-MOC.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"metadata": {},
"outputs": [],
"source": [
"from astropy.io import fits\n",
"from astropy.wcs import WCS as WCS\n",
"from mocpy import MOC\n",
"from astropy.visualization import simple_norm\n",
"import astropy.units as u\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt"
"from astropy.io import fits\n",
"from astropy.visualization import simple_norm\n",
"from astropy.wcs import WCS\n",
"from mocpy import MOC"
]
},
{
Expand Down Expand Up @@ -206,7 +206,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.10 64-bit",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -220,7 +220,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.12.0"
},
"toc": {
"base_numbering": 1,
Expand All @@ -239,8 +239,15 @@
"interpreter": {
"hash": "916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1"
}
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
14 changes: 8 additions & 6 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.13.0 documentation</title>
<title>First steps with Frequency MOCs &#8212; MOCPy 0.13.1 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/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=1019fba8"></script>
<script src="../../_static/documentation_options.js?v=b4617fb1"></script>
<script src="../../_static/doctools.js?v=888ff710"></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.13.0 documentation</a>
<a href="../../index.html">MOCPy 0.13.1 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -243,7 +243,7 @@ <h1>First steps with Frequency MOCs<a class="headerlink" href="#First-steps-with
# but we can change it to linear if needed
ax.set(xscale=&quot;linear&quot;)
# and any customization on the ax of fig objects will work too
ax.spines[[&quot;left&quot;, &quot;top&quot;, &quot;right&quot;]].set_visible(False) # noqa: FBT003
ax.spines[[&quot;left&quot;, &quot;top&quot;, &quot;right&quot;]].set_visible(False)
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -341,7 +341,9 @@ <h1>First steps with Frequency MOCs<a class="headerlink" href="#First-steps-with
</div>
<p>Next step is FT-MOC, in order to manage the time series of sweep.</p>
<p><strong>NB:</strong> Cassini/RPWS observed continously from january 2000 to september 2017 :-)</p>
</section>
<script type="application/vnd.jupyter.widget-state+json">
{"state": {}, "version_major": 2, "version_minor": 0}
</script></section>


<div class="clearer"></div>
Expand All @@ -366,7 +368,7 @@ <h1>First steps with Frequency MOCs<a class="headerlink" href="#First-steps-with
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2023, Matthieu Baumann &lt;matthieu.baumann@astro.unistra.fr&gt; Thomas Boch &lt;thomas.boch@astro.unistra.fr&gt; Manon Marchand &lt;manon.marchand@astro.unistra.fr&gt; F.-X. Pineau &lt;francois-xavier.pineau@astro.unistra.fr&gt;.<br/>
Last built 29 Aug 2023. <br/>
Last built 04 Dec 2023. <br/>
</p>
</footer>
</body>
Expand Down
11 changes: 9 additions & 2 deletions _collections/notebooks/First_Steps_with_FMOCs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
"# but we can change it to linear if needed\n",
"ax.set(xscale=\"linear\")\n",
"# and any customization on the ax of fig objects will work too\n",
"ax.spines[[\"left\", \"top\", \"right\"]].set_visible(False) # noqa: FBT003"
"ax.spines[[\"left\", \"top\", \"right\"]].set_visible(False)"
]
},
{
Expand Down Expand Up @@ -563,7 +563,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mocpy-tests",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -578,6 +578,13 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
Expand Down
36 changes: 19 additions & 17 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.13.0 documentation</title>
<title>Space and time MOC &#8212; MOCPy 0.13.1 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/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=1019fba8"></script>
<script src="../../_static/documentation_options.js?v=b4617fb1"></script>
<script src="../../_static/doctools.js?v=888ff710"></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.13.0 documentation</a>
<a href="../../index.html">MOCPy 0.13.1 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand All @@ -87,14 +87,13 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>from mocpy import STMOC, MOC, TimeMOC
import astropy.units as u
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span>import astropy.units as u
import matplotlib.pyplot as plt
from astropy.coordinates import Angle, SkyCoord
from astropy.table import Table
from astropy.time import Time, TimeDelta

from astropy.coordinates import Angle, SkyCoord
import matplotlib.pyplot as plt
from mocpy import WCS
from astropy.visualization.wcsaxes.frame import EllipticalFrame
from mocpy import MOC, STMOC, WCS, TimeMOC
</pre></div>
</div>
</div>
Expand All @@ -120,7 +119,8 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
# Create a cone footprint from the first 10000 observations
num_observations = 10000
spatial_coverages = [
MOC.from_cone(pos.ra, pos.dec, 5 * u.deg, 7) for pos in positions[:num_observations]
MOC.from_cone(pos.ra, pos.dec, radius=5 * u.deg, max_depth=7)
for pos in positions[:num_observations]
]
print(&quot;Number of rows in 2MASS: &quot;, len(spatial_coverages))
# Create a STMOC from those 10000 spatial coverages associated with their observational time ranges
Expand All @@ -138,8 +138,8 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
<div class="output_area docutils container">
<div class="highlight"><pre>
Number of rows in 2MASS: 10000
CPU times: user 3.72 s, sys: 39.4 ms, total: 3.76 s
Wall time: 3.74 s
CPU times: user 3.76 s, sys: 70.5 ms, total: 3.83 s
Wall time: 3.72 s
</pre></div></div>
</div>
<div class="nbinput nblast docutils container">
Expand All @@ -163,13 +163,13 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
# Define a astropy WCS easily
with WCS(
fig,
fov=330 * u.deg,
center=SkyCoord(0, 0, unit=&quot;deg&quot;, frame=&quot;icrs&quot;),
fov=160 * u.deg,
center=SkyCoord(90, 0, unit=&quot;deg&quot;, frame=&quot;icrs&quot;),
coordsys=&quot;icrs&quot;,
rotation=Angle(0, u.degree),
projection=&quot;AIT&quot;,
) as wcs:
ax = fig.add_subplot(1, 1, 1, projection=wcs)
ax = fig.add_subplot(1, 1, 1, projection=wcs, frame_class=EllipticalFrame)
# Call fill with a matplotlib axe and the `~astropy.wcs.WCS` wcs object.
moc.fill(ax=ax, wcs=wcs, alpha=0.5, fill=True, color=&quot;green&quot;)
moc.border(ax=ax, wcs=wcs, alpha=0.5, color=&quot;black&quot;)
Expand All @@ -188,7 +188,9 @@ <h1>Space and time MOC<a class="headerlink" href="#Space-and-time-MOC" title="Li
<img alt="../../_images/_collections_notebooks_STMOC_from_time_ranges_5_0.png" src="../../_images/_collections_notebooks_STMOC_from_time_ranges_5_0.png" />
</div>
</div>
</section>
<script type="application/vnd.jupyter.widget-state+json">
{"state": {}, "version_major": 2, "version_minor": 0}
</script></section>


<div class="clearer"></div>
Expand All @@ -213,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 2023, Matthieu Baumann &lt;matthieu.baumann@astro.unistra.fr&gt; Thomas Boch &lt;thomas.boch@astro.unistra.fr&gt; Manon Marchand &lt;manon.marchand@astro.unistra.fr&gt; F.-X. Pineau &lt;francois-xavier.pineau@astro.unistra.fr&gt;.<br/>
Last built 29 Aug 2023. <br/>
Last built 04 Dec 2023. <br/>
</p>
</footer>
</body>
Expand Down
35 changes: 21 additions & 14 deletions _collections/notebooks/STMOC from time ranges.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 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.13.0 documentation</title>
<title># Space &amp; Time coverages &#8212; MOCPy 0.13.1 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/nbsphinx-code-cells.css" />

<script src="../../_static/documentation_options.js?v=1019fba8"></script>
<script src="../../_static/documentation_options.js?v=b4617fb1"></script>
<script src="../../_static/doctools.js?v=888ff710"></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.13.0 documentation</a>
<a href="../../index.html">MOCPy 0.13.1 documentation</a>
&#187;
</li>
<li><a href="../../examples/user_documentation.html" accesskey="U">User documentation</a> &#187;</li>
Expand Down Expand Up @@ -603,7 +603,7 @@ <h3>5. Vizualize a Space-Time coverage interactively<a class="headerlink" href="
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2023, Matthieu Baumann &lt;matthieu.baumann@astro.unistra.fr&gt; Thomas Boch &lt;thomas.boch@astro.unistra.fr&gt; Manon Marchand &lt;manon.marchand@astro.unistra.fr&gt; F.-X. Pineau &lt;francois-xavier.pineau@astro.unistra.fr&gt;.<br/>
Last built 29 Aug 2023. <br/>
Last built 04 Dec 2023. <br/>
</p>
</footer>
</body>
Expand Down
Loading

0 comments on commit 5b048d6

Please sign in to comment.