Skip to content

Commit

Permalink
commit built documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and github-actions[bot] committed Aug 30, 2024
1 parent 1966d36 commit b9852fb
Show file tree
Hide file tree
Showing 28 changed files with 3,915 additions and 2,931 deletions.
2 changes: 1 addition & 1 deletion docs/_build/html/.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: 422422d3bdb302d57b3d8ae560d6877f
config: 57cd3214c1ceb8d8216bf7efb7342c6a
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/_build/html/.doctrees/environment.pickle
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions docs/_build/html/_static/notebooks/pulsar_phase/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ channels:
- conda-forge

dependencies:
- gammapy=1.0.2
- python=3.9
- gammapy=1.2
- python=3.11
- scipy<1.12
- jupyter
- pip
- pip:
- pint-pulsar~=0.9.3
- pint-pulsar~=1.0

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions docs/_build/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
35 changes: 30 additions & 5 deletions docs/_build/html/_static/sg_gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,23 +178,44 @@ thumbnail with its default link Background color */
max-height: 112px;
max-width: 160px;
}
.sphx-glr-thumbcontainer[tooltip]:hover:after {
background: var(--sg-tooltip-background);

.sphx-glr-thumbcontainer[tooltip]::before {
content: "";
position: absolute;
pointer-events: none;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 97;
background-color: var(--sg-tooltip-background);
backdrop-filter: blur(3px);
opacity: 0;
transition: opacity 0.3s;
}

.sphx-glr-thumbcontainer[tooltip]:hover::before {
opacity: 1;
}

.sphx-glr-thumbcontainer[tooltip]:hover::after {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
color: var(--sg-tooltip-foreground);
content: attr(tooltip);
padding: 10px;
padding: 10px 10px 5px;
z-index: 98;
width: 100%;
height: 100%;
max-height: 100%;
position: absolute;
pointer-events: none;
top: 0;
box-sizing: border-box;
overflow: hidden;
backdrop-filter: blur(3px);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 6;
}

.sphx-glr-script-out {
Expand Down Expand Up @@ -283,6 +304,10 @@ div.sphx-glr-download a:hover {
background-color: var(--sg-download-a-hover-background-color);
}

div.sphx-glr-sidebar-item img {
max-height: 20px;
}

.sphx-glr-example-title:target::before {
display: block;
content: "";
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/gammapy.css?v=1b9ef150" />
<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="shortcut icon" href="_static/gammapy_logo.ico"/>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/gammapy.css?v=1b9ef150" />
<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="shortcut icon" href="_static/gammapy_logo.ico"/>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/gammapy.css?v=1b9ef150" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=61a4c737" />
<link rel="stylesheet" type="text/css" href="_static/nbsphinx-gallery.css" />
<link rel="stylesheet" type="text/css" href="_static/sg_gallery.css?v=d2d258e8" />
<link rel="stylesheet" type="text/css" href="_static/nbsphinx-gallery.css?v=26227f6e" />


<link rel="shortcut icon" href="_static/gammapy_logo.ico"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/gammapy.css?v=1b9ef150" />
<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" />
<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?v=2aa19091" />


<link rel="shortcut icon" href="../../_static/gammapy_logo.ico"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/gammapy.css?v=1b9ef150" />
<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" />
<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?v=2aa19091" />


<link rel="shortcut icon" href="../../_static/gammapy_logo.ico"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/gammapy.css?v=1b9ef150" />
<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" />
<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?v=2aa19091" />


<link rel="shortcut icon" href="../../_static/gammapy_logo.ico"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/gammapy.css?v=1b9ef150" />
<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" />
<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?v=2aa19091" />


<link rel="shortcut icon" href="../../_static/gammapy_logo.ico"/>
Expand Down Expand Up @@ -171,7 +171,7 @@ <h3>How does it work ?<a class="headerlink" href="#How-does-it-work-?" title="Li
distribution of each parameter by simply approximating it with the histogram of the samples projected into the parameter space. This will provide the errors and correlations between parameters.</p>
<p>Now let’s try to put a picture on the ideas described above. With this notebook, we have simulated and carried out a MCMC analysis for a source with the following parameters: <span class="math notranslate nohighlight">\(Index=2.0\)</span>, <span class="math notranslate nohighlight">\(Norm=5\times10^{-12}\)</span> cm<span class="math notranslate nohighlight">\(^{-2}\)</span> s<span class="math notranslate nohighlight">\(^{-1}\)</span> TeV<span class="math notranslate nohighlight">\(^{-1}\)</span>, <span class="math notranslate nohighlight">\(Lambda =(1/Ecut) = 0.02\)</span> TeV<span class="math notranslate nohighlight">\(^{-1}\)</span> (50 TeV) for 20 hours.</p>
<p>The results that you can get from a MCMC analysis will look like this :</p>
<p><img alt="e5dc3c781e14443faaf958883a411840" class="no-scaled-link" src="../../_images/gammapy_mcmc.png" style="width: 800px;" /></p>
<p><img alt="045380d242904313b552197ef947198b" class="no-scaled-link" src="../../_images/gammapy_mcmc.png" style="width: 800px;" /></p>
<p>On the first two top panels, we show the pseudo-random walk of one walker from an offset starting value to see it evolve to a better solution. In the bottom right panel, we show the trace of each 16 walkers for 500 runs (the chain described previsouly). For the first 100 runs, the parameter evolve towards a solution (can be viewed as a fitting step). Then they explore the local minimum for 400 runs which will be used to estimate the parameters correlations and errors. The choice of the Nburn
value (when walkers have reached a stationary stage) can be done by eye but you can also look at the autocorrelation time.</p>
</section>
Expand Down
Loading

0 comments on commit b9852fb

Please sign in to comment.