Skip to content

Commit

Permalink
doc updates [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Circle Ci committed Aug 23, 2024
1 parent 61fb020 commit 6398e46
Show file tree
Hide file tree
Showing 92 changed files with 452 additions and 348 deletions.
2 changes: 1 addition & 1 deletion dev/.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: e23d56b587a1ee1fc0b114670128f976
config: 0b0b7b95720a924c3268f16ffab790cc
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/701f5b32d08455f1c1e98b7ab1715881/bidspath.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions dev/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>Overview: module code &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../_static/documentation_options.js?v=62292a13"></script>
<script src="../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/copyfiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.copyfiles &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.copyfiles &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/dig.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.dig &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.dig &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/inspect.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.inspect &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.inspect &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/path.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.path &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.path &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
24 changes: 20 additions & 4 deletions dev/_modules/mne_bids/read.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.read &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.read &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down Expand Up @@ -679,7 +679,7 @@ <h1>Source code for mne_bids.read</h1><div class="highlight"><pre>

<span class="c1"># If we have events, convert them to Annotations so they can be easily</span>
<span class="c1"># merged with existing Annotations.</span>
<span class="k">if</span> <span class="n">events</span><span class="o">.</span><span class="n">size</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
<span class="k">if</span> <span class="n">events</span><span class="o">.</span><span class="n">size</span> <span class="o">&gt;</span> <span class="mi">0</span> <span class="ow">and</span> <span class="n">event_id</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">ids_without_desc</span> <span class="o">=</span> <span class="nb">set</span><span class="p">(</span><span class="n">events</span><span class="p">[:,</span> <span class="mi">2</span><span class="p">])</span> <span class="o">-</span> <span class="nb">set</span><span class="p">(</span><span class="n">event_id</span><span class="o">.</span><span class="n">values</span><span class="p">())</span>
<span class="k">if</span> <span class="n">ids_without_desc</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
Expand Down Expand Up @@ -710,6 +710,22 @@ <h1>Source code for mne_bids.read</h1><div class="highlight"><pre>
<span class="n">raw</span><span class="o">.</span><span class="n">set_annotations</span><span class="p">(</span><span class="n">annotations</span><span class="p">)</span>
<span class="k">del</span> <span class="n">id_to_desc_map</span><span class="p">,</span> <span class="n">annotations</span><span class="p">,</span> <span class="n">new_annotations</span>

<span class="k">if</span> <span class="n">events</span><span class="o">.</span><span class="n">size</span> <span class="o">&gt;</span> <span class="mi">0</span> <span class="ow">and</span> <span class="n">event_id</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">new_annotations</span> <span class="o">=</span> <span class="n">mne</span><span class="o">.</span><span class="n">annotations_from_events</span><span class="p">(</span>
<span class="n">events</span><span class="o">=</span><span class="n">events</span><span class="p">,</span>
<span class="n">sfreq</span><span class="o">=</span><span class="n">raw</span><span class="o">.</span><span class="n">info</span><span class="p">[</span><span class="s2">&quot;sfreq&quot;</span><span class="p">],</span>
<span class="n">orig_time</span><span class="o">=</span><span class="n">raw</span><span class="o">.</span><span class="n">annotations</span><span class="o">.</span><span class="n">orig_time</span><span class="p">,</span>
<span class="p">)</span>

<span class="n">raw</span> <span class="o">=</span> <span class="n">raw</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span> <span class="c1"># Don&#39;t alter the original.</span>
<span class="n">annotations</span> <span class="o">=</span> <span class="n">raw</span><span class="o">.</span><span class="n">annotations</span><span class="o">.</span><span class="n">copy</span><span class="p">()</span>

<span class="c1"># We use `+=` here because `Annotations.__iadd__()` does the right</span>
<span class="c1"># thing and also performs a sanity check on `Annotations.orig_time`.</span>
<span class="n">annotations</span> <span class="o">+=</span> <span class="n">new_annotations</span>
<span class="n">raw</span><span class="o">.</span><span class="n">set_annotations</span><span class="p">(</span><span class="n">annotations</span><span class="p">)</span>
<span class="k">del</span> <span class="n">annotations</span><span class="p">,</span> <span class="n">new_annotations</span>

<span class="c1"># Now convert the Annotations to events.</span>
<span class="n">all_events</span><span class="p">,</span> <span class="n">all_desc</span> <span class="o">=</span> <span class="n">events_from_annotations</span><span class="p">(</span>
<span class="n">raw</span><span class="p">,</span>
Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/report/_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.report._report &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.report._report &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/sidecar_updates.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.sidecar_updates &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.sidecar_updates &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.stats &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.stats &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/mne_bids/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mne_bids.utils &#8212; MNE-BIDS 0.16.0.dev28+gf9199621 documentation</title>
<title>mne_bids.utils &#8212; MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</title>



Expand Down Expand Up @@ -40,7 +40,7 @@
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="../../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>

<script src="../../_static/documentation_options.js?v=62292a13"></script>
<script src="../../_static/documentation_options.js?v=4a854790"></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 @@ -147,7 +147,7 @@



<p class="title logo__title">MNE-BIDS 0.16.0.dev28+gf9199621 documentation</p>
<p class="title logo__title">MNE-BIDS 0.16.0.dev29+g471bd0cd documentation</p>

</a></div>

Expand Down
Loading

0 comments on commit 6398e46

Please sign in to comment.