echopile 0.95.0__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.
- echopile-0.95.0/LICENSE +21 -0
- echopile-0.95.0/MANIFEST.in +7 -0
- echopile-0.95.0/PKG-INFO +98 -0
- echopile-0.95.0/README.md +68 -0
- echopile-0.95.0/echopile/__init__.py +2 -0
- echopile-0.95.0/echopile/__main__.py +30 -0
- echopile-0.95.0/echopile/app/__init__.py +5 -0
- echopile-0.95.0/echopile/app/app.py +29 -0
- echopile-0.95.0/echopile/app/callbacks/__init__.py +1 -0
- echopile-0.95.0/echopile/app/callbacks/handlers.py +3388 -0
- echopile-0.95.0/echopile/app/profiles.py +26 -0
- echopile-0.95.0/echopile/assets/favicon.ico +0 -0
- echopile-0.95.0/echopile/assets/master_switches.css +11 -0
- echopile-0.95.0/echopile/assets/plot_download_buttons.js +28 -0
- echopile-0.95.0/echopile/assets/sliders.css +28 -0
- echopile-0.95.0/echopile/config.py +122 -0
- echopile-0.95.0/echopile/core/__init__.py +1 -0
- echopile-0.95.0/echopile/core/io_readers.py +508 -0
- echopile-0.95.0/echopile/core/processing_pipeline.py +461 -0
- echopile-0.95.0/echopile/core/settings_defaults.py +118 -0
- echopile-0.95.0/echopile/core/signal_processing.py +350 -0
- echopile-0.95.0/echopile/core/slt_analysis.py +538 -0
- echopile-0.95.0/echopile/core/snc_io.py +294 -0
- echopile-0.95.0/echopile/core/superlet_complex.py +659 -0
- echopile-0.95.0/echopile/help_texts.py +299 -0
- echopile-0.95.0/echopile/translations.py +121 -0
- echopile-0.95.0/echopile/ui_components.py +2313 -0
- echopile-0.95.0/echopile.egg-info/PKG-INFO +98 -0
- echopile-0.95.0/echopile.egg-info/SOURCES.txt +33 -0
- echopile-0.95.0/echopile.egg-info/dependency_links.txt +1 -0
- echopile-0.95.0/echopile.egg-info/entry_points.txt +2 -0
- echopile-0.95.0/echopile.egg-info/requires.txt +14 -0
- echopile-0.95.0/echopile.egg-info/top_level.txt +1 -0
- echopile-0.95.0/pyproject.toml +49 -0
- echopile-0.95.0/setup.cfg +4 -0
echopile-0.95.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 echopile contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
echopile-0.95.0/PKG-INFO
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: echopile
|
|
3
|
+
Version: 0.95.0
|
|
4
|
+
Summary: Dash application for pile integrity signal analysis
|
|
5
|
+
Author: echopile contributors
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Classifier: Development Status :: 4 - Beta
|
|
8
|
+
Classifier: Intended Audience :: Science/Research
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: dash>=2.14
|
|
17
|
+
Requires-Dist: dash-bootstrap-components>=1.5
|
|
18
|
+
Requires-Dist: dash-mantine-components>=0.14
|
|
19
|
+
Requires-Dist: dash-iconify>=0.1.2
|
|
20
|
+
Requires-Dist: matplotlib>=3.7
|
|
21
|
+
Requires-Dist: numpy>=1.24
|
|
22
|
+
Requires-Dist: pandas>=2.0
|
|
23
|
+
Requires-Dist: plotly>=5.18
|
|
24
|
+
Requires-Dist: scipy>=1.10
|
|
25
|
+
Requires-Dist: EMD-signal>=1.6
|
|
26
|
+
Provides-Extra: segy
|
|
27
|
+
Requires-Dist: fsspec>=2024.2.0; extra == "segy"
|
|
28
|
+
Requires-Dist: segy>=0.3; extra == "segy"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
# echopile
|
|
32
|
+
|
|
33
|
+
`echopile` is a Dash application for pile integrity signal loading, processing, and visual analysis.
|
|
34
|
+
|
|
35
|
+
## Requirements
|
|
36
|
+
|
|
37
|
+
- Python 3.10 or newer
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
Core install:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
pip install .
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Install with SEG-Y support:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
pip install .[segy]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Run
|
|
54
|
+
|
|
55
|
+
From an installed package:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
echopile
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Or directly from source:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
python -m echopile
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The app starts on `http://127.0.0.1:8050` by default.
|
|
68
|
+
|
|
69
|
+
## Example workflow
|
|
70
|
+
|
|
71
|
+
1. Launch the app.
|
|
72
|
+
2. Load one of the files from [`examples/`](examples/).
|
|
73
|
+
3. Start with [`Vel (Z_component) (big probe)_F_2000.snc`](examples/Vel%20(Z_component)%20(big%20probe)_F_2000.snc) to verify the full SNC workflow.
|
|
74
|
+
4. Use [`A_9_kazachya.pp.CSV`](examples/A_9_kazachya.pp.CSV) for PET import and [`ZBL1.txt`](examples/ZBL1.txt) for ZBL text import.
|
|
75
|
+
5. If SEG-Y support is installed, load [`0305_no-arm.sgy`](examples/0305_no-arm.sgy).
|
|
76
|
+
|
|
77
|
+
## Tests
|
|
78
|
+
|
|
79
|
+
Run the current regression suite from the project root:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
python -m unittest discover -s tests
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Release checklist
|
|
86
|
+
|
|
87
|
+
- Build source and wheel artifacts:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
python -m build
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
- Smoke test the installed wheel:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
pip install dist/*.whl
|
|
97
|
+
echopile --host 127.0.0.1 --port 8050
|
|
98
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# echopile
|
|
2
|
+
|
|
3
|
+
`echopile` is a Dash application for pile integrity signal loading, processing, and visual analysis.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Python 3.10 or newer
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
Core install:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pip install .
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Install with SEG-Y support:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install .[segy]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Run
|
|
24
|
+
|
|
25
|
+
From an installed package:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
echopile
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or directly from source:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
python -m echopile
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The app starts on `http://127.0.0.1:8050` by default.
|
|
38
|
+
|
|
39
|
+
## Example workflow
|
|
40
|
+
|
|
41
|
+
1. Launch the app.
|
|
42
|
+
2. Load one of the files from [`examples/`](examples/).
|
|
43
|
+
3. Start with [`Vel (Z_component) (big probe)_F_2000.snc`](examples/Vel%20(Z_component)%20(big%20probe)_F_2000.snc) to verify the full SNC workflow.
|
|
44
|
+
4. Use [`A_9_kazachya.pp.CSV`](examples/A_9_kazachya.pp.CSV) for PET import and [`ZBL1.txt`](examples/ZBL1.txt) for ZBL text import.
|
|
45
|
+
5. If SEG-Y support is installed, load [`0305_no-arm.sgy`](examples/0305_no-arm.sgy).
|
|
46
|
+
|
|
47
|
+
## Tests
|
|
48
|
+
|
|
49
|
+
Run the current regression suite from the project root:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
python -m unittest discover -s tests
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Release checklist
|
|
56
|
+
|
|
57
|
+
- Build source and wheel artifacts:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
python -m build
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
- Smoke test the installed wheel:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
pip install dist/*.whl
|
|
67
|
+
echopile --host 127.0.0.1 --port 8050
|
|
68
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
if __package__ in (None, ""):
|
|
6
|
+
project_root = Path(__file__).resolve().parent.parent
|
|
7
|
+
if str(project_root) not in sys.path:
|
|
8
|
+
sys.path.insert(0, str(project_root))
|
|
9
|
+
from echopile.app import build_app
|
|
10
|
+
else:
|
|
11
|
+
from .app import build_app
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def main() -> None:
|
|
15
|
+
parser = argparse.ArgumentParser(description="Launch echopile Dash app")
|
|
16
|
+
parser.add_argument("--host", default="127.0.0.1")
|
|
17
|
+
parser.add_argument("--port", type=int, default=8050)
|
|
18
|
+
parser.add_argument("--debug", action="store_true")
|
|
19
|
+
args = parser.parse_args()
|
|
20
|
+
|
|
21
|
+
app = build_app()
|
|
22
|
+
app.run(
|
|
23
|
+
host=args.host,
|
|
24
|
+
port=args.port,
|
|
25
|
+
debug=args.debug,
|
|
26
|
+
use_reloader=args.debug,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
if __name__ == "__main__":
|
|
30
|
+
main()
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
from dash import Dash, _dash_renderer
|
|
6
|
+
import dash_bootstrap_components as dbc
|
|
7
|
+
import plotly.io as pio
|
|
8
|
+
|
|
9
|
+
from ..config import APP_TITLE, PLOTLY_TEMPLATE
|
|
10
|
+
from ..ui_components import build_layout
|
|
11
|
+
from .profiles import resolve_profile
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def build_app(profile=None):
|
|
15
|
+
profile_obj = resolve_profile(profile)
|
|
16
|
+
pio.templates.default = PLOTLY_TEMPLATE # use plain Plotly (no theme)
|
|
17
|
+
package_dir = Path(__file__).resolve().parents[1]
|
|
18
|
+
app = Dash(
|
|
19
|
+
external_stylesheets=[dbc.themes.JOURNAL],
|
|
20
|
+
assets_folder=str(package_dir / 'assets'),
|
|
21
|
+
)
|
|
22
|
+
app._echopile_profile = profile_obj.name
|
|
23
|
+
app.title = APP_TITLE
|
|
24
|
+
app._favicon = 'favicon.ico'
|
|
25
|
+
_dash_renderer._set_react_version('18.2.0')
|
|
26
|
+
app.layout = build_layout()
|
|
27
|
+
# Import after app/layout exist so Dash callback decorators can register.
|
|
28
|
+
from .callbacks import handlers # noqa: F401
|
|
29
|
+
return app
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Callback implementation package for echopile."""
|