pyatoa 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyatoa-0.4.2 → pyatoa-0.4.3}/PKG-INFO +3 -2
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/process.py +12 -4
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa.egg-info/PKG-INFO +3 -2
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa.egg-info/SOURCES.txt +0 -2
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyproject.toml +1 -1
- pyatoa-0.4.2/docs/conf.py +0 -215
- pyatoa-0.4.2/pyatoa/visuals/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/LICENSE.txt +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/README.md +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/__init__.py +0 -0
- {pyatoa-0.4.2/docs → pyatoa-0.4.3/pyatoa/core}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/core/config.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/core/executive.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/core/inspector.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/core/manager.py +0 -0
- {pyatoa-0.4.2/pyatoa/core → pyatoa-0.4.3/pyatoa/scripts}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/scripts/data_data_example.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/scripts/load_example_data.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/scripts/process_data_w_mpi.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/scripts/syn_syn_example.py +0 -0
- {pyatoa-0.4.2/pyatoa/scripts → pyatoa-0.4.3/pyatoa/tests}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_asdf_utils.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_config.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_executive.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_inspector.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_manager.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_mgmt_plot.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_process_util.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_utils.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/tests/test_wave_maker.py +0 -0
- {pyatoa-0.4.2/pyatoa/tests → pyatoa-0.4.3/pyatoa/utils}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/adjoint.py +0 -0
- {pyatoa-0.4.2/pyatoa/utils → pyatoa-0.4.3/pyatoa/utils/asdf}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/asdf/add.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/asdf/clean.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/asdf/load.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/asdf/write.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/calculate.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/form.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/images.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/srcrcv.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/window.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/utils/write.py +0 -0
- {pyatoa-0.4.2/pyatoa/utils/asdf → pyatoa-0.4.3/pyatoa/visuals}/__init__.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/visuals/insp_plot.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/visuals/map_maker.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/visuals/wave_maker.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa/visuals/wave_train.py +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa.egg-info/dependency_links.txt +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa.egg-info/requires.txt +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/pyatoa.egg-info/top_level.txt +0 -0
- {pyatoa-0.4.2 → pyatoa-0.4.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyatoa
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Python's Adjoint Tomography Operations Assistant
|
|
5
5
|
Author: adjTomo Dev Team
|
|
6
6
|
Author-email: adjtomo@gmail.com
|
|
@@ -699,6 +699,7 @@ Provides-Extra: dev
|
|
|
699
699
|
Requires-Dist: pytest; extra == "dev"
|
|
700
700
|
Requires-Dist: ipython; extra == "dev"
|
|
701
701
|
Requires-Dist: ipdb; extra == "dev"
|
|
702
|
+
Dynamic: license-file
|
|
702
703
|
|
|
703
704
|
# Python's Adjoint Tomography Operations Assistant
|
|
704
705
|
|
|
@@ -201,11 +201,19 @@ def trim_streams(st_a, st_b, force=None):
|
|
|
201
201
|
elif dt >= tr.stats.delta:
|
|
202
202
|
logger.warning(f"{tr.id} starttime is {dt}s greater than delta")
|
|
203
203
|
|
|
204
|
+
# Last check to ensure start and endtime match within sampling rate
|
|
204
205
|
for tr_a, tr_b in zip(st_a_out, st_b_out):
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"
|
|
206
|
+
start_diff = np.abs(tr_a.stats.starttime - tr_b.stats.starttime)
|
|
207
|
+
assert(start_diff < tr_a.stats.sampling_rate), (
|
|
208
|
+
f"starttimes do not match after trim operation "
|
|
209
|
+
f"a:{tr_a.stats.starttime} / b:{tr_b.stats.starttime}"
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
end_diff = np.abs(tr_a.stats.endtime - tr_b.stats.endtime)
|
|
213
|
+
assert(end_diff < tr_a.stats.sampling_rate), (
|
|
214
|
+
f"endtimes do not match after trim operation "
|
|
215
|
+
f"a:{tr_a.stats.endtime} / b:{tr_b.stats.endtime}"
|
|
216
|
+
)
|
|
209
217
|
|
|
210
218
|
return st_a_out, st_b_out
|
|
211
219
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyatoa
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Python's Adjoint Tomography Operations Assistant
|
|
5
5
|
Author: adjTomo Dev Team
|
|
6
6
|
Author-email: adjtomo@gmail.com
|
|
@@ -699,6 +699,7 @@ Provides-Extra: dev
|
|
|
699
699
|
Requires-Dist: pytest; extra == "dev"
|
|
700
700
|
Requires-Dist: ipython; extra == "dev"
|
|
701
701
|
Requires-Dist: ipdb; extra == "dev"
|
|
702
|
+
Dynamic: license-file
|
|
702
703
|
|
|
703
704
|
# Python's Adjoint Tomography Operations Assistant
|
|
704
705
|
|
pyatoa-0.4.2/docs/conf.py
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# Configuration file for the Sphinx documentation builder.
|
|
4
|
-
#
|
|
5
|
-
# This file does only contain a selection of the most common options. For a
|
|
6
|
-
# full list see the documentation:
|
|
7
|
-
# http://www.sphinx-doc.org/en/master/config
|
|
8
|
-
|
|
9
|
-
# -- Path setup --------------------------------------------------------------
|
|
10
|
-
|
|
11
|
-
# If extensions (or modules to document with autodoc) are in another directory,
|
|
12
|
-
# add these directories to sys.path here. If the directory is relative to the
|
|
13
|
-
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
14
|
-
#
|
|
15
|
-
import os
|
|
16
|
-
import sys
|
|
17
|
-
sys.path.insert(0, os.path.abspath('..'))
|
|
18
|
-
|
|
19
|
-
import sphinx_rtd_theme
|
|
20
|
-
|
|
21
|
-
# -- Project information -----------------------------------------------------
|
|
22
|
-
|
|
23
|
-
project = 'Pyatoa'
|
|
24
|
-
copyright = '2024, adjTomo'
|
|
25
|
-
author = 'adjTomo Dev Team'
|
|
26
|
-
|
|
27
|
-
# The short X.Y version
|
|
28
|
-
# Grab version number from 'pyproject.toml'
|
|
29
|
-
with open("../pyproject.toml", "r") as f:
|
|
30
|
-
_lines = f.readlines()
|
|
31
|
-
for _line in _lines:
|
|
32
|
-
if _line.startswith("version"):
|
|
33
|
-
version = _line.split('"')[1].strip()
|
|
34
|
-
|
|
35
|
-
# The full version, including alpha/beta/rc tags
|
|
36
|
-
release = ''
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
# -- General configuration ---------------------------------------------------
|
|
40
|
-
|
|
41
|
-
# If your documentation needs a minimal Sphinx version, state it here.
|
|
42
|
-
#
|
|
43
|
-
# needs_sphinx = '1.0'
|
|
44
|
-
|
|
45
|
-
# Add any Sphinx extension module names here, as strings. They can be
|
|
46
|
-
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
47
|
-
# ones.
|
|
48
|
-
extensions = [
|
|
49
|
-
'sphinx.ext.doctest',
|
|
50
|
-
'sphinx.ext.intersphinx',
|
|
51
|
-
'sphinx.ext.todo',
|
|
52
|
-
'sphinx.ext.coverage',
|
|
53
|
-
'sphinx.ext.viewcode',
|
|
54
|
-
'sphinx.ext.napoleon',
|
|
55
|
-
'sphinx.ext.autosummary',
|
|
56
|
-
'sphinx_rtd_theme',
|
|
57
|
-
'autoapi.extension',
|
|
58
|
-
'nbsphinx',
|
|
59
|
-
'myst_parser'
|
|
60
|
-
]
|
|
61
|
-
|
|
62
|
-
# Need to tell the autoapi that our source code is one level up
|
|
63
|
-
autoapi_type = "python"
|
|
64
|
-
autoapi_dirs = ["../pyatoa"]
|
|
65
|
-
autoapi_add_toctree_entry = True
|
|
66
|
-
|
|
67
|
-
# Add any paths that contain templates here, relative to this directory.
|
|
68
|
-
templates_path = ['_templates']
|
|
69
|
-
|
|
70
|
-
# The suffix(es) of source filenames.
|
|
71
|
-
# You can specify multiple suffix as a list of string:
|
|
72
|
-
#
|
|
73
|
-
source_suffix = {'.rst': 'restructuredtext',
|
|
74
|
-
'.md': 'markdown'}
|
|
75
|
-
|
|
76
|
-
# The master toctree document.
|
|
77
|
-
master_doc = 'index'
|
|
78
|
-
|
|
79
|
-
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
80
|
-
# for a list of supported languages.
|
|
81
|
-
#
|
|
82
|
-
# This is also used if you do content translation via gettext catalogs.
|
|
83
|
-
# Usually you set "language" from the command line for these cases.
|
|
84
|
-
language = "en"
|
|
85
|
-
|
|
86
|
-
# List of patterns, relative to source directory, that match files and
|
|
87
|
-
# directories to ignore when looking for source files.
|
|
88
|
-
# This pattern also affects html_static_path and html_extra_path.
|
|
89
|
-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.ipynb']
|
|
90
|
-
|
|
91
|
-
# The name of the Pygments (syntax highlighting) style to use.
|
|
92
|
-
pygments_style = None
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
# -- Options for HTML output -------------------------------------------------
|
|
96
|
-
|
|
97
|
-
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
98
|
-
# a list of builtin themes.
|
|
99
|
-
#
|
|
100
|
-
# html_theme = 'alabaster'
|
|
101
|
-
html_theme = 'sphinx_rtd_theme'
|
|
102
|
-
|
|
103
|
-
# Extra HTML options
|
|
104
|
-
html_favicon = 'images/pyatoa_favicon.png'
|
|
105
|
-
html_logo = 'images/pyatoa_inline_text_bigO.png'
|
|
106
|
-
|
|
107
|
-
# Theme options are theme-specific and customize the look and feel of a theme
|
|
108
|
-
# further. For a list of options available for each theme, see the
|
|
109
|
-
# documentation.
|
|
110
|
-
#
|
|
111
|
-
# html_theme_options = {}
|
|
112
|
-
|
|
113
|
-
# Add any paths that contain custom static files (such as style sheets) here,
|
|
114
|
-
# relative to this directory. They are copied after the builtin static files,
|
|
115
|
-
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
116
|
-
# html_static_path = ['_static']
|
|
117
|
-
html_static_path = []
|
|
118
|
-
|
|
119
|
-
# Custom sidebar templates, must be a dictionary that maps document names
|
|
120
|
-
# to template names.
|
|
121
|
-
#
|
|
122
|
-
# The default sidebars (for documents that don't match any pattern) are
|
|
123
|
-
# defined by theme itself. Builtin themes are using these templates by
|
|
124
|
-
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
|
|
125
|
-
# 'searchbox.html']``.
|
|
126
|
-
#
|
|
127
|
-
# html_sidebars = {}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
# -- Options for HTMLHelp output ---------------------------------------------
|
|
131
|
-
|
|
132
|
-
# Output file base name for HTML help builder.
|
|
133
|
-
htmlhelp_basename = 'Pyatoadoc'
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
# -- Options for LaTeX output ------------------------------------------------
|
|
137
|
-
|
|
138
|
-
latex_elements = {
|
|
139
|
-
# The paper size ('letterpaper' or 'a4paper').
|
|
140
|
-
#
|
|
141
|
-
# 'papersize': 'letterpaper',
|
|
142
|
-
|
|
143
|
-
# The font size ('10pt', '11pt' or '12pt').
|
|
144
|
-
#
|
|
145
|
-
# 'pointsize': '10pt',
|
|
146
|
-
|
|
147
|
-
# Additional stuff for the LaTeX preamble.
|
|
148
|
-
#
|
|
149
|
-
# 'preamble': '',
|
|
150
|
-
|
|
151
|
-
# Latex figure (float) alignment
|
|
152
|
-
#
|
|
153
|
-
# 'figure_align': 'htbp',
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
# Grouping the document tree into LaTeX files. List of tuples
|
|
157
|
-
# (source start file, target name, title,
|
|
158
|
-
# author, documentclass [howto, manual, or own class]).
|
|
159
|
-
latex_documents = [
|
|
160
|
-
(master_doc, 'Pyatoa.tex', 'Pyatoa Documentation',
|
|
161
|
-
'Bryant Chow', 'manual'),
|
|
162
|
-
]
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
# -- Options for manual page output ------------------------------------------
|
|
166
|
-
|
|
167
|
-
# One entry per manual page. List of tuples
|
|
168
|
-
# (source start file, name, description, authors, manual section).
|
|
169
|
-
man_pages = [
|
|
170
|
-
(master_doc, 'pyatoa', 'Pyatoa Documentation',
|
|
171
|
-
[author], 1)
|
|
172
|
-
]
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
# -- Options for Texinfo output ----------------------------------------------
|
|
176
|
-
|
|
177
|
-
# Grouping the document tree into Texinfo files. List of tuples
|
|
178
|
-
# (source start file, target name, title, author,
|
|
179
|
-
# dir menu entry, description, category)
|
|
180
|
-
texinfo_documents = [
|
|
181
|
-
(master_doc, 'Pyatoa', 'Pyatoa Documentation',
|
|
182
|
-
author, 'Pyatoa', 'Pythons Adjoint Tomography Operations Assistant',
|
|
183
|
-
'Miscellaneous'),
|
|
184
|
-
]
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
# -- Options for Epub output -------------------------------------------------
|
|
188
|
-
|
|
189
|
-
# Bibliographic Dublin Core info.
|
|
190
|
-
epub_title = project
|
|
191
|
-
|
|
192
|
-
# The unique identifier of the text. This can be a ISBN number
|
|
193
|
-
# or the project homepage.
|
|
194
|
-
#
|
|
195
|
-
# epub_identifier = ''
|
|
196
|
-
|
|
197
|
-
# A unique identification for the text.
|
|
198
|
-
#
|
|
199
|
-
# epub_uid = ''
|
|
200
|
-
|
|
201
|
-
# A list of files that should not be packed into the epub file.
|
|
202
|
-
epub_exclude_files = ['search.html']
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
# -- Extension configuration -------------------------------------------------
|
|
206
|
-
|
|
207
|
-
# -- Options for intersphinx extension ---------------------------------------
|
|
208
|
-
|
|
209
|
-
# Example configuration for intersphinx: refer to the Python standard library.
|
|
210
|
-
intersphinx_mapping = {'https://docs.python.org/': None}
|
|
211
|
-
|
|
212
|
-
# -- Options for todo extension ----------------------------------------------
|
|
213
|
-
|
|
214
|
-
# If true, `todo` and `todoList` produce output, else they produce nothing.
|
|
215
|
-
todo_include_todos = True
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|