Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfriedMercier committed Mar 17, 2022
1 parent d208887 commit 6c6c420
Show file tree
Hide file tree
Showing 25 changed files with 861 additions and 391 deletions.
18 changes: 9 additions & 9 deletions docs/API/catalogues.html

Large diffs are not rendered by default.

56 changes: 29 additions & 27 deletions docs/API/filters.html

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions docs/API/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link href="../search.html" rel="search" title="Search"/>
<link href="../genindex.html" rel="index" title="Index"/>
<link href="catalogues.html" rel="next" title="Catalogue classes"/>
<link href="../examples/example2.html" rel="prev" title="Example 2: Resolved SFR map with LePhare from an output file"/>
<link href="../examples/example3.html" rel="prev" title="Example 3: Generating a resolved stellar mass map with Cigale"/>
</head>
<body class="antialiased text-gray">
<div class="h-screen xl:grid xl:grid-layout" data-action="keydown@window-&gt;search#focus" data-controller="sidebar search" id="page">
Expand Down Expand Up @@ -71,6 +71,7 @@
<ul>
<li class="toctree-l1"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../examples/example1.html">1. Resolved stellar mass map with LePhare</a></div></li>
<li class="toctree-l1"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../examples/example2.html">2. Resolved SFR map from an already existing LePhare output file</a></div></li>
<li class="toctree-l1"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../examples/example3.html">3. Resolved stellar mass map with Cigale</a></div></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">―――――――――――――――</span></p>
<ul class="current">
Expand All @@ -84,6 +85,7 @@
</ul>
</li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="outputs.html">SED fitting code output classes</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="photometry.html">Photometry related fonctions</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="sed.html">SED classes</a></div></li>
</ul>
</li>
Expand All @@ -101,7 +103,7 @@
</nav>
<article class="flex-1" role="main">
<section id="api">
<h1>API<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#api"></a></h1>
<h1>API<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#api"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="catalogues.html">Catalogue classes</a></li>
Expand All @@ -113,6 +115,7 @@ <h1>API<a aria-label="Click to copy this link" class="headerlink tooltipped tool
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="outputs.html">SED fitting code output classes</a></li>
<li class="toctree-l1"><a class="reference internal" href="photometry.html">Photometry related fonctions</a></li>
<li class="toctree-l1"><a class="reference internal" href="sed.html">SED classes</a></li>
</ul>
</div>
Expand Down
462 changes: 231 additions & 231 deletions docs/API/misc/enum.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/API/misc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
</nav>
<article class="flex-1" role="main">
<section id="miscellaneous">
<h1>Miscellaneous<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#miscellaneous"></a></h1>
<h1>Miscellaneous<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#miscellaneous"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="enum.html">Enumeration classes</a></li>
Expand Down
16 changes: 8 additions & 8 deletions docs/API/misc/misc.html

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions docs/API/misc/properties.html

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/API/outputs.html

Large diffs are not rendered by default.

216 changes: 216 additions & 0 deletions docs/API/photometry.html

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions docs/API/sed.html

Large diffs are not rendered by default.

237 changes: 237 additions & 0 deletions docs/_modules/SED/photometry.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
</ul>
</li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../API/outputs.html">SED fitting code output classes</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../API/photometry.html">Photometry related fonctions</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="../API/sed.html">SED classes</a></div></li>
</ul>
</li>
Expand All @@ -105,6 +106,7 @@ <h1>All modules for which code is available</h1>
<li><a href="SED/misc/misc.html">SED.misc.misc</a></li>
<li><a href="SED/misc/properties.html">SED.misc.properties</a></li>
<li><a href="SED/outputs.html">SED.outputs</a></li>
<li><a href="SED/photometry.html">SED.photometry</a></li>
<li><a href="SED/sed.html">SED.sed</a></li>
</ul>
</article>
Expand Down
1 change: 1 addition & 0 deletions docs/_sources/API/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ API
filters
misc/index
outputs
photometry
sed
7 changes: 7 additions & 0 deletions docs/_sources/API/photometry.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Photometry related fonctions
============================

.. automodule:: SED.photometry
:members:
:private-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/examples/example1.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</nav>
<article class="flex-1" role="main">
<section id="example-1-generating-a-resolved-stellar-mass-map-with-lephare">
<h1>Example 1: Generating a resolved stellar mass map with LePhare<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-1-generating-a-resolved-stellar-mass-map-with-lephare"></a></h1>
<h1>Example 1: Generating a resolved stellar mass map with LePhare<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-1-generating-a-resolved-stellar-mass-map-with-lephare"></a></h1>
<p>We start by importing <a class="reference external" href="https://docs.python.org/fr/3/library/os.path.html" rel="nofollow noopener">os.path<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a> module (useful to deal with paths between different OS), this library (<a class="reference external" href="https://github.com/WilfriedMercier/SED" rel="nofollow noopener">SED<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a>) and <a class="reference external" href="https://docs.astropy.org/en/stable/io/fits/index.html" rel="nofollow noopener">astropy.io.fits<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a> to open the mask file.</p>
<p>We define the galaxy name, the bands used, their zeropoints and the absolute path of the flux and variance maps. Note that in this case our variance maps do not include Poisson noise so we need to add it. To do so, we also provide the flux maps convolved with the square of the PSF.</p>
<div class="code-wrapper" data-controller="code">
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/example2.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</nav>
<article class="flex-1" role="main">
<section id="example-2-resolved-sfr-map-with-lephare-from-an-output-file">
<h1>Example 2: Resolved SFR map with LePhare from an output file<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-2-resolved-sfr-map-with-lephare-from-an-output-file"></a></h1>
<h1>Example 2: Resolved SFR map with LePhare from an output file<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-2-resolved-sfr-map-with-lephare-from-an-output-file"></a></h1>
<p>We assume the SED fitting has already been performed and there is an output file named <code class="file docutils literal notranslate">example/1/<var>1.out</var></code>.</p>
<p>Since we need the mean map, scale factor and exposure time to scale back the output properties, we start by building the FilterList oject as in <a class="reference internal" href="example1.html"><span class="doc">example 1</span></a></p>
<div class="code-wrapper" data-controller="code">
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/example3.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
</nav>
<article class="flex-1" role="main">
<section id="example-3-generating-a-resolved-stellar-mass-map-with-cigale">
<h1>Example 3: Generating a resolved stellar mass map with Cigale<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-3-generating-a-resolved-stellar-mass-map-with-cigale"></a></h1>
<h1>Example 3: Generating a resolved stellar mass map with Cigale<a aria-label="Click to copy this link" class="headerlink tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne tooltipped tooltipped-ne" data-action="click-&gt;clipboard#copyHeaderLink" data-controller="clipboard" href="#example-3-generating-a-resolved-stellar-mass-map-with-cigale"></a></h1>
<p>We start by importing <a class="reference external" href="https://docs.python.org/fr/3/library/os.path.html" rel="nofollow noopener">os.path<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a> module (useful to deal with paths between different OS), this library (<a class="reference external" href="https://github.com/WilfriedMercier/SED" rel="nofollow noopener">SED<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a>) and <a class="reference external" href="https://docs.astropy.org/en/stable/io/fits/index.html" rel="nofollow noopener">astropy.io.fits<svg aria-hidden="true" class="external-link-icon" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></svg></a> to open the mask file.</p>
<p>We define the galaxy name, the bands used, their zeropoints and the absolute path of the flux and variance maps. Note that in this case our variance maps do not include Poisson noise so we need to add it. To do so, we also provide the flux maps convolved with the square of the PSF.</p>
<div class="code-wrapper" data-controller="code">
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
</ul>
</li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/outputs.html">SED fitting code output classes</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/photometry.html">Photometry related fonctions</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/sed.html">SED classes</a></div></li>
</ul>
</li>
Expand Down
Binary file modified docs/objects.inv
Binary file not shown.
1 change: 1 addition & 0 deletions docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
</ul>
</li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/outputs.html">SED fitting code output classes</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/photometry.html">Photometry related fonctions</a></div></li>
<li class="toctree-l2"><div class="nav-link"><a class="reference internal" data-action="click-&gt;sidebar#close" href="API/sed.html">SED classes</a></div></li>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6c6c420

Please sign in to comment.