rtrs 0.2.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.
- rtrs-0.2.3/.github/workflows/release.yml +79 -0
- rtrs-0.2.3/.gitignore +17 -0
- rtrs-0.2.3/Cargo.lock +636 -0
- rtrs-0.2.3/Cargo.toml +22 -0
- rtrs-0.2.3/LICENSE +21 -0
- rtrs-0.2.3/PKG-INFO +178 -0
- rtrs-0.2.3/README.md +161 -0
- rtrs-0.2.3/docs/01-install-and-build.md +66 -0
- rtrs-0.2.3/docs/02-input-reference.md +196 -0
- rtrs-0.2.3/docs/03-output-reference.md +99 -0
- rtrs-0.2.3/docs/04-python-usage.md +171 -0
- rtrs-0.2.3/docs/schema/simulation-config.schema.json +293 -0
- rtrs-0.2.3/examples/bellhop3d_validation.ipynb +1909 -0
- rtrs-0.2.3/examples/bellhop_validation.ipynb +1715 -0
- rtrs-0.2.3/examples/broadband_pyo3.py +247 -0
- rtrs-0.2.3/examples/broadband_test.py +281 -0
- rtrs-0.2.3/examples/bty_test.py +82 -0
- rtrs-0.2.3/examples/linear_ssp_test.py +83 -0
- rtrs-0.2.3/examples/munk_array.py +118 -0
- rtrs-0.2.3/examples/munk_array_pyo3.py +95 -0
- rtrs-0.2.3/examples/munk_elastic_lossy_test.py +99 -0
- rtrs-0.2.3/examples/munk_ray_pyo3.py +73 -0
- rtrs-0.2.3/examples/munk_test.py +86 -0
- rtrs-0.2.3/examples/munk_test_pyo3.py +85 -0
- rtrs-0.2.3/examples/pekeris_test.py +82 -0
- rtrs-0.2.3/examples/python_utils.py +718 -0
- rtrs-0.2.3/examples/real_data_test.py +380 -0
- rtrs-0.2.3/pyproject.toml +27 -0
- rtrs-0.2.3/src/bty.rs +344 -0
- rtrs-0.2.3/src/engine.rs +274 -0
- rtrs-0.2.3/src/guides.rs +20 -0
- rtrs-0.2.3/src/influence.rs +534 -0
- rtrs-0.2.3/src/input.rs +395 -0
- rtrs-0.2.3/src/lib.rs +63 -0
- rtrs-0.2.3/src/main.rs +63 -0
- rtrs-0.2.3/src/output.rs +234 -0
- rtrs-0.2.3/src/python_bindings.rs +168 -0
- rtrs-0.2.3/src/rays.rs +644 -0
- rtrs-0.2.3/src/reflect.rs +675 -0
- rtrs-0.2.3/src/ssp.rs +496 -0
- rtrs-0.2.3/src/utils.rs +9 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: Build wheels
|
|
14
|
+
runs-on: ${{ matrix.os }}
|
|
15
|
+
strategy:
|
|
16
|
+
matrix:
|
|
17
|
+
include:
|
|
18
|
+
- os: ubuntu-latest
|
|
19
|
+
target: x86_64
|
|
20
|
+
- os: windows-latest
|
|
21
|
+
target: x86_64
|
|
22
|
+
- os: macos-latest
|
|
23
|
+
target: x86_64
|
|
24
|
+
- os: macos-latest
|
|
25
|
+
target: aarch64
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
|
|
30
|
+
- name: Build wheels
|
|
31
|
+
uses: PyO3/maturin-action@v1
|
|
32
|
+
with:
|
|
33
|
+
target: ${{ matrix.target }}
|
|
34
|
+
args: --release --out dist --features python
|
|
35
|
+
sccache: 'true'
|
|
36
|
+
manylinux: auto
|
|
37
|
+
|
|
38
|
+
- name: Upload wheels
|
|
39
|
+
uses: actions/upload-artifact@v4
|
|
40
|
+
with:
|
|
41
|
+
name: wheels-${{ matrix.os }}-${{ matrix.target }}
|
|
42
|
+
path: dist
|
|
43
|
+
|
|
44
|
+
sdist:
|
|
45
|
+
name: Build sdist
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
|
|
50
|
+
- name: Build sdist
|
|
51
|
+
uses: PyO3/maturin-action@v1
|
|
52
|
+
with:
|
|
53
|
+
command: sdist
|
|
54
|
+
args: --out dist
|
|
55
|
+
|
|
56
|
+
- name: Upload sdist
|
|
57
|
+
uses: actions/upload-artifact@v4
|
|
58
|
+
with:
|
|
59
|
+
name: wheels-sdist
|
|
60
|
+
path: dist
|
|
61
|
+
|
|
62
|
+
publish:
|
|
63
|
+
name: Publish to PyPI
|
|
64
|
+
runs-on: ubuntu-latest
|
|
65
|
+
needs: [build, sdist]
|
|
66
|
+
permissions:
|
|
67
|
+
id-token: write
|
|
68
|
+
steps:
|
|
69
|
+
- name: Download all wheels
|
|
70
|
+
uses: actions/download-artifact@v4
|
|
71
|
+
with:
|
|
72
|
+
pattern: wheels-*
|
|
73
|
+
merge-multiple: true
|
|
74
|
+
path: dist
|
|
75
|
+
|
|
76
|
+
- name: Publish to PyPI
|
|
77
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
78
|
+
with:
|
|
79
|
+
skip-existing: true
|
rtrs-0.2.3/.gitignore
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Ignore build artifacts and IDE files
|
|
2
|
+
.DS_Store
|
|
3
|
+
/target
|
|
4
|
+
/dist/
|
|
5
|
+
.vscode
|
|
6
|
+
|
|
7
|
+
# Python virtual environments
|
|
8
|
+
.venv/
|
|
9
|
+
venv/
|
|
10
|
+
*.egg-info/
|
|
11
|
+
|
|
12
|
+
# Ignore output files from examples
|
|
13
|
+
examples/*.json
|
|
14
|
+
examples/__pycache__
|
|
15
|
+
|
|
16
|
+
# ignore bins
|
|
17
|
+
bins/
|