Skip to content

Commit

Permalink
v1.4 vernum and docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
RJbalikian committed Oct 30, 2024
1 parent 242af5d commit eff6bda
Show file tree
Hide file tree
Showing 48 changed files with 991 additions and 666 deletions.
2 changes: 1 addition & 1 deletion docs/.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: f8b357ed4c8a2f2827ade66f41d10d0b
config: 2f3f51ea76c87fa1efbf5ede4657fbc2
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/sprit.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/sprit.sprit_hvsr.doctree
Binary file not shown.
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: f8b357ed4c8a2f2827ade66f41d10d0b
config: 2f3f51ea76c87fa1efbf5ede4657fbc2
tags: 645f666f9bcd5a90fca523b33c5a78b7
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; sprit 1.3.1 documentation</title>
<title>Overview: module code &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../_static/documentation_options.js?v=bb516dca"></script>
<script src="../_static/documentation_options.js?v=0ed52906"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_cli &mdash; sprit 1.3.1 documentation</title>
<title>sprit.sprit_cli &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=bb516dca"></script>
<script src="../../_static/documentation_options.js?v=0ed52906"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
1,350 changes: 816 additions & 534 deletions docs/_build/html/_modules/sprit/sprit_hvsr.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_jupyter_UI.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_jupyter_UI &mdash; sprit 1.3.1 documentation</title>
<title>sprit.sprit_jupyter_UI &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=bb516dca"></script>
<script src="../../_static/documentation_options.js?v=0ed52906"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_plot &mdash; sprit 1.3.1 documentation</title>
<title>sprit.sprit_plot &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=bb516dca"></script>
<script src="../../_static/documentation_options.js?v=0ed52906"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions docs/_build/html/_modules/sprit/sprit_streamlit_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_streamlit_ui &mdash; sprit 1.3.1 documentation</title>
<title>sprit.sprit_streamlit_ui &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=bb516dca"></script>
<script src="../../_static/documentation_options.js?v=0ed52906"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down Expand Up @@ -271,7 +271,7 @@ <h1>Source code for sprit.sprit_streamlit_ui</h1><div class="highlight"><pre>
<span class="n">print_param</span><span class="p">(</span><span class="n">param2print</span><span class="p">)</span>

<span class="c1"># Case matching</span>
<span class="c1"># Add if statement for docs building</span>
<span class="c1"># Add if-statement for docs building</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">keys</span><span class="p">())</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span> <span class="c1">#print(&#39;allkeys&#39;, list(st.session_state.keys()))</span>
<span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">data_export_format</span> <span class="o">=</span> <span class="n">run_kwargs</span><span class="p">[</span><span class="s1">&#39;data_export_format&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">data_export_format</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span>
<span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">detrend</span> <span class="o">=</span> <span class="n">run_kwargs</span><span class="p">[</span><span class="s1">&#39;detrend&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">detrend</span><span class="o">.</span><span class="n">title</span><span class="p">()</span>
Expand Down Expand Up @@ -429,7 +429,7 @@ <h1>Source code for sprit.sprit_streamlit_ui</h1><div class="highlight"><pre>

<span class="n">st</span><span class="o">.</span><span class="n">header</span><span class="p">(</span><span class="s1">&#39;SpRIT HVSR&#39;</span><span class="p">,</span> <span class="n">divider</span><span class="o">=</span><span class="s1">&#39;rainbow&#39;</span><span class="p">)</span>
<span class="n">datapathInput</span> <span class="o">=</span> <span class="n">st</span><span class="o">.</span><span class="n">text_input</span><span class="p">(</span><span class="s2">&quot;Datapath&quot;</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;input_data&#39;</span><span class="p">,</span> <span class="n">placeholder</span><span class="o">=</span><span class="s1">&#39;Enter data filepath (to be read by obspy.core.Stream.read())&#39;</span><span class="p">)</span>
<span class="c1">#st.file_uploader(&#39;Upload data file(s)&#39;, type=OBSPYFORMATS, accept_multiple_files=True, key=&#39;datapath_uploader&#39;, on_change=on_file_upload)</span>
<span class="c1"># st.file_uploader(&#39;Upload data file(s)&#39;, type=OBSPYFORMATS, accept_multiple_files=True, key=&#39;datapath_uploader&#39;, on_change=on_file_upload)</span>
<span class="k">with</span> <span class="n">st</span><span class="o">.</span><span class="n">expander</span><span class="p">(</span><span class="s2">&quot;Click to access data uploader&quot;</span><span class="p">):</span>
<span class="n">st</span><span class="o">.</span><span class="n">file_uploader</span><span class="p">(</span><span class="s2">&quot;Upload data file(s)&quot;</span><span class="p">,</span> <span class="nb">type</span><span class="o">=</span><span class="n">OBSPYFORMATS</span><span class="p">,</span> <span class="n">accept_multiple_files</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;datapath_uploader&#39;</span><span class="p">,</span> <span class="n">on_change</span><span class="o">=</span><span class="n">on_file_upload</span><span class="p">)</span>

Expand All @@ -447,7 +447,7 @@ <h1>Source code for sprit.sprit_streamlit_ui</h1><div class="highlight"><pre>
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Done setting up bottom container, session state length: &#39;</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">keys</span><span class="p">()))</span>
<span class="n">print_param</span><span class="p">(</span><span class="n">param2print</span><span class="p">)</span>


<span class="c1"># Add if-statement for docs building</span>
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="nb">list</span><span class="p">(</span><span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">keys</span><span class="p">()))</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
<span class="n">st</span><span class="o">.</span><span class="n">header</span><span class="p">(</span><span class="s1">&#39;Settings&#39;</span><span class="p">,</span> <span class="n">divider</span><span class="o">=</span><span class="s1">&#39;gray&#39;</span><span class="p">)</span>
<span class="k">with</span> <span class="n">st</span><span class="o">.</span><span class="n">expander</span><span class="p">(</span><span class="s1">&#39;Expand to modify settings&#39;</span><span class="p">):</span>
Expand All @@ -471,7 +471,7 @@ <h1>Source code for sprit.sprit_streamlit_ui</h1><div class="highlight"><pre>
<span class="n">st</span><span class="o">.</span><span class="n">select_slider</span><span class="p">(</span><span class="s1">&#39;HVSR Band&#39;</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">hvsr_band</span><span class="p">,</span> <span class="n">options</span><span class="o">=</span><span class="n">bandVals</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;hvsr_band&#39;</span><span class="p">)</span>
<span class="n">st</span><span class="o">.</span><span class="n">select_slider</span><span class="p">(</span><span class="s1">&#39;Peak Frequency Range&#39;</span><span class="p">,</span> <span class="n">value</span><span class="o">=</span><span class="n">st</span><span class="o">.</span><span class="n">session_state</span><span class="o">.</span><span class="n">peak_freq_range</span><span class="p">,</span> <span class="n">options</span><span class="o">=</span><span class="n">bandVals</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;peak_freq_range&#39;</span><span class="p">)</span>

<span class="c1">#with st.expander(&#39;Acquisition Date/Time&#39;):</span>
<span class="c1"># with st.expander(&#39;Acquisition Date/Time&#39;):</span>
<span class="n">st</span><span class="o">.</span><span class="n">date_input</span><span class="p">(</span><span class="s1">&#39;Acquisition Date&#39;</span><span class="p">,</span> <span class="nb">format</span><span class="o">=</span><span class="s1">&#39;YYYY-MM-DD&#39;</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;acq_date&#39;</span><span class="p">)</span>
<span class="n">st</span><span class="o">.</span><span class="n">time_input</span><span class="p">(</span><span class="s1">&#39;Start time&#39;</span><span class="p">,</span> <span class="n">step</span><span class="o">=</span><span class="mi">60</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;starttime&#39;</span><span class="p">)</span>
<span class="n">st</span><span class="o">.</span><span class="n">time_input</span><span class="p">(</span><span class="s1">&#39;End time&#39;</span><span class="p">,</span> <span class="n">step</span><span class="o">=</span><span class="mi">60</span><span class="p">,</span> <span class="n">key</span><span class="o">=</span><span class="s1">&#39;endtime&#39;</span><span class="p">)</span>
Expand Down
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/sprit/sprit_tkinter_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>sprit.sprit_tkinter_ui &mdash; sprit 1.3.1 documentation</title>
<title>sprit.sprit_tkinter_ui &mdash; sprit 1.4 documentation</title>
<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" />

Expand All @@ -12,7 +12,7 @@
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script src="../../_static/documentation_options.js?v=bb516dca"></script>
<script src="../../_static/documentation_options.js?v=0ed52906"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/js/theme.js"></script>
Expand Down
Loading

0 comments on commit eff6bda

Please sign in to comment.