Skip to content

Commit

Permalink
update vernum
Browse files Browse the repository at this point in the history
  • Loading branch information
RJbalikian committed Oct 17, 2023
1 parent fed5c2f commit 1193c25
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package:
name: sprit
version: 0.1.46
version: 0.1.48

source:
git_url: https://github.com/RJbalikian/SPRIT-HVSR
git_tag: v0.1.46
git_tag: v0.1.48

build:
number: 0
Expand Down
2 changes: 1 addition & 1 deletion docs/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#Whether to convert_md using markdown library (True), or let github do it (False)
convert_md=True
rtd_theme=False #Not currently working
release_version= '0.1.46'
release_version= '0.1.48'

currentDir = pathlib.Path((__file__)).parent
docsDir = currentDir
Expand Down
7 changes: 4 additions & 3 deletions docs/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -1827,9 +1827,10 @@ <h2 id="returns">Returns</h2>
params = _update_shake_metadata(filepath=invPath, params=params, write_path=write_path)
params = _read_RS_Metadata(params, source=source)
else:
if not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
if not invPath:
pass #if invPath is None
elif not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
warnings.warn(f&#34;The metapath parameter was not specified correctly. Returning original params value {params[&#39;metapath&#39;]}&#34;)
return params
readInvKwargs = {}
argspecs = inspect.getfullargspec(obspy.read_inventory)
for argName in argspecs[0]:
Expand Down Expand Up @@ -2364,7 +2365,7 @@ <h2 id="returns">Returns</h2>
</details>
</dd>
<dt id="sprit.input_params"><code class="name flex">
<span>def <span class="ident">input_params</span></span>(<span>datapath, site='HVSR Site', network='AM', station='RAC84', loc='00', channels=['EHZ', 'EHN', 'EHE'], acq_date='2023-10-16', starttime='00:00:00.00', endtime='23:59:59.999999', tzone='UTC', xcoord=-88.2290526, ycoord=40.1012122, elevation=755, input_crs='EPSG:4326', output_crs='EPSG:4326', elev_unit='feet', depth=0, instrument='Raspberry Shake', metapath='', hvsr_band=[0.4, 40], peak_freq_range=[0.4, 40], verbose=False)</span>
<span>def <span class="ident">input_params</span></span>(<span>datapath, site='HVSR Site', network='AM', station='RAC84', loc='00', channels=['EHZ', 'EHN', 'EHE'], acq_date='2023-10-17', starttime='00:00:00.00', endtime='23:59:59.999999', tzone='UTC', xcoord=-88.2290526, ycoord=40.1012122, elevation=755, input_crs='EPSG:4326', output_crs='EPSG:4326', elev_unit='feet', depth=0, instrument='Raspberry Shake', metapath='', hvsr_band=[0.4, 40], peak_freq_range=[0.4, 40], verbose=False)</span>
</code></dt>
<dd>
<div class="desc"><p>Function for designating input parameters for reading in and processing data</p>
Expand Down
12 changes: 7 additions & 5 deletions docs/sprit_hvsr.html
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,10 @@ <h1 class="title">Module <code>sprit.sprit_hvsr</code></h1>
params = _update_shake_metadata(filepath=invPath, params=params, write_path=write_path)
params = _read_RS_Metadata(params, source=source)
else:
if not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
if not invPath:
pass #if invPath is None
elif not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
warnings.warn(f&#34;The metapath parameter was not specified correctly. Returning original params value {params[&#39;metapath&#39;]}&#34;)
return params
readInvKwargs = {}
argspecs = inspect.getfullargspec(obspy.read_inventory)
for argName in argspecs[0]:
Expand Down Expand Up @@ -7444,9 +7445,10 @@ <h2 id="returns">Returns</h2>
params = _update_shake_metadata(filepath=invPath, params=params, write_path=write_path)
params = _read_RS_Metadata(params, source=source)
else:
if not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
if not invPath:
pass #if invPath is None
elif not pathlib.Path(invPath).exists() or invPath==&#39;&#39;:
warnings.warn(f&#34;The metapath parameter was not specified correctly. Returning original params value {params[&#39;metapath&#39;]}&#34;)
return params
readInvKwargs = {}
argspecs = inspect.getfullargspec(obspy.read_inventory)
for argName in argspecs[0]:
Expand Down Expand Up @@ -7961,7 +7963,7 @@ <h2 id="returns">Returns</h2>
</details>
</dd>
<dt id="sprit.sprit_hvsr.input_params"><code class="name flex">
<span>def <span class="ident">input_params</span></span>(<span>datapath, site='HVSR Site', network='AM', station='RAC84', loc='00', channels=['EHZ', 'EHN', 'EHE'], acq_date='2023-10-16', starttime='00:00:00.00', endtime='23:59:59.999999', tzone='UTC', xcoord=-88.2290526, ycoord=40.1012122, elevation=755, input_crs='EPSG:4326', output_crs='EPSG:4326', elev_unit='feet', depth=0, instrument='Raspberry Shake', metapath='', hvsr_band=[0.4, 40], peak_freq_range=[0.4, 40], verbose=False)</span>
<span>def <span class="ident">input_params</span></span>(<span>datapath, site='HVSR Site', network='AM', station='RAC84', loc='00', channels=['EHZ', 'EHN', 'EHE'], acq_date='2023-10-17', starttime='00:00:00.00', endtime='23:59:59.999999', tzone='UTC', xcoord=-88.2290526, ycoord=40.1012122, elevation=755, input_crs='EPSG:4326', output_crs='EPSG:4326', elev_unit='feet', depth=0, instrument='Raspberry Shake', metapath='', hvsr_band=[0.4, 40], peak_freq_range=[0.4, 40], verbose=False)</span>
</code></dt>
<dd>
<div class="desc"><p>Function for designating input parameters for reading in and processing data</p>
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "sprit"
authors = [{name="Riley Balikian"}, {name="Hongyu Xaio"}]
dynamic = ["readme"]
license = {file = "LICENSE"}
version="0.1.46"
version="0.1.48"
description = "A package for processing and analyzing HVSR (Horizontal to Vertical Spectral Ratio) data"
keywords = ["HVSR", "seismic", "horizontal to vertical spectral ratio", "obspy", 'geology', 'geophysics', 'geotechnical']
requires-python = ">=3.9"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name="sprit",
author= "Riley Balikian",
author_email = "balikian@illinois.edu",
version="0.1.46",
version="0.1.48",
package_data={'sprit': ['resources/*', 'resources/icon/*', 'resources/themes/*', 'resources/themes/forest-dark/*', 'resources/themes/forest-light/*', 'resources/sample_data/*',]},
long_description_content_type="text/markdown",
long_description=long_description,
Expand Down
Binary file modified sprit/__pycache__/sprit_hvsr.cpython-310.pyc
Binary file not shown.

0 comments on commit 1193c25

Please sign in to comment.