nzcvm 2026.9.1__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.
Files changed (96) hide show
  1. nzcvm-2026.9.1/.gitignore +230 -0
  2. nzcvm-2026.9.1/Cargo.lock +2041 -0
  3. nzcvm-2026.9.1/Cargo.toml +43 -0
  4. nzcvm-2026.9.1/MANIFEST.in +19 -0
  5. nzcvm-2026.9.1/PKG-INFO +585 -0
  6. nzcvm-2026.9.1/README.md +548 -0
  7. nzcvm-2026.9.1/benches/model_bench.rs +89 -0
  8. nzcvm-2026.9.1/nzcvm/__init__.py +12 -0
  9. nzcvm-2026.9.1/nzcvm/components.py +33 -0
  10. nzcvm-2026.9.1/nzcvm/config/__init__.py +3 -0
  11. nzcvm-2026.9.1/nzcvm/config/core.py +59 -0
  12. nzcvm-2026.9.1/nzcvm/config/grids/__init__.py +18 -0
  13. nzcvm-2026.9.1/nzcvm/config/grids/core.py +12 -0
  14. nzcvm-2026.9.1/nzcvm/config/grids/emod3d.py +40 -0
  15. nzcvm-2026.9.1/nzcvm/config/grids/model.py +74 -0
  16. nzcvm-2026.9.1/nzcvm/config/grids/regular.py +65 -0
  17. nzcvm-2026.9.1/nzcvm/config/grids/sw4.py +111 -0
  18. nzcvm-2026.9.1/nzcvm/config/layers/__init__.py +18 -0
  19. nzcvm-2026.9.1/nzcvm/config/layers/backus.py +25 -0
  20. nzcvm-2026.9.1/nzcvm/config/layers/clamp.py +183 -0
  21. nzcvm-2026.9.1/nzcvm/config/layers/coastline.py +11 -0
  22. nzcvm-2026.9.1/nzcvm/config/layers/core.py +15 -0
  23. nzcvm-2026.9.1/nzcvm/config/layers/ely.py +33 -0
  24. nzcvm-2026.9.1/nzcvm/config/layers/offshore.py +68 -0
  25. nzcvm-2026.9.1/nzcvm/config/layers/query.py +37 -0
  26. nzcvm-2026.9.1/nzcvm/config/metadata.py +32 -0
  27. nzcvm-2026.9.1/nzcvm/config/validation.py +199 -0
  28. nzcvm-2026.9.1/nzcvm/config/velocity_model.py +124 -0
  29. nzcvm-2026.9.1/nzcvm/coordinates.py +218 -0
  30. nzcvm-2026.9.1/nzcvm/ely_taper.py +122 -0
  31. nzcvm-2026.9.1/nzcvm/formats/__init__.py +108 -0
  32. nzcvm-2026.9.1/nzcvm/formats/datatree.py +87 -0
  33. nzcvm-2026.9.1/nzcvm/formats/emod3d.py +96 -0
  34. nzcvm-2026.9.1/nzcvm/formats/quantise.py +46 -0
  35. nzcvm-2026.9.1/nzcvm/formats/sfile.py +163 -0
  36. nzcvm-2026.9.1/nzcvm/grids/__init__.py +5 -0
  37. nzcvm-2026.9.1/nzcvm/grids/builder.py +11 -0
  38. nzcvm-2026.9.1/nzcvm/grids/emod3d.py +118 -0
  39. nzcvm-2026.9.1/nzcvm/grids/grid.py +58 -0
  40. nzcvm-2026.9.1/nzcvm/grids/helpers.py +98 -0
  41. nzcvm-2026.9.1/nzcvm/grids/regular.py +132 -0
  42. nzcvm-2026.9.1/nzcvm/grids/sw4.py +235 -0
  43. nzcvm-2026.9.1/nzcvm/layers/__init__.py +24 -0
  44. nzcvm-2026.9.1/nzcvm/layers/backus.py +97 -0
  45. nzcvm-2026.9.1/nzcvm/layers/clamp.py +95 -0
  46. nzcvm-2026.9.1/nzcvm/layers/coastline.py +178 -0
  47. nzcvm-2026.9.1/nzcvm/layers/core.py +79 -0
  48. nzcvm-2026.9.1/nzcvm/layers/dummy.py +136 -0
  49. nzcvm-2026.9.1/nzcvm/layers/ely.py +132 -0
  50. nzcvm-2026.9.1/nzcvm/layers/functional.py +220 -0
  51. nzcvm-2026.9.1/nzcvm/layers/offshore.py +224 -0
  52. nzcvm-2026.9.1/nzcvm/layers/pipeline.py +85 -0
  53. nzcvm-2026.9.1/nzcvm/layers/query.py +73 -0
  54. nzcvm-2026.9.1/nzcvm/logging.py +176 -0
  55. nzcvm-2026.9.1/nzcvm/models/__init__.py +18 -0
  56. nzcvm-2026.9.1/nzcvm/models/mesh.py +207 -0
  57. nzcvm-2026.9.1/nzcvm/models/model.py +680 -0
  58. nzcvm-2026.9.1/nzcvm/models/surface.py +130 -0
  59. nzcvm-2026.9.1/nzcvm/qualities.py +169 -0
  60. nzcvm-2026.9.1/nzcvm/query.py +29 -0
  61. nzcvm-2026.9.1/nzcvm/registry.py +65 -0
  62. nzcvm-2026.9.1/nzcvm/scripts/__init__.py +1 -0
  63. nzcvm-2026.9.1/nzcvm/scripts/banks.py +161 -0
  64. nzcvm-2026.9.1/nzcvm/scripts/construct_mesh.py +934 -0
  65. nzcvm-2026.9.1/nzcvm/scripts/convert_tiff.py +46 -0
  66. nzcvm-2026.9.1/nzcvm/scripts/convert_tomography.py +267 -0
  67. nzcvm-2026.9.1/nzcvm/scripts/nzcvm_cli.py +287 -0
  68. nzcvm-2026.9.1/nzcvm/scripts/surface_cli.py +66 -0
  69. nzcvm-2026.9.1/nzcvm/scripts/tree_stats.py +188 -0
  70. nzcvm-2026.9.1/nzcvm/scripts/view.py +603 -0
  71. nzcvm-2026.9.1/nzcvm/scripts/view_basin.py +5 -0
  72. nzcvm-2026.9.1/nzcvm/velocity_model.py +88 -0
  73. nzcvm-2026.9.1/nzcvm/xarray.py +40 -0
  74. nzcvm-2026.9.1/nzcvm.egg-info/PKG-INFO +585 -0
  75. nzcvm-2026.9.1/nzcvm.egg-info/SOURCES.txt +94 -0
  76. nzcvm-2026.9.1/nzcvm.egg-info/dependency_links.txt +1 -0
  77. nzcvm-2026.9.1/nzcvm.egg-info/entry_points.txt +2 -0
  78. nzcvm-2026.9.1/nzcvm.egg-info/requires.txt +28 -0
  79. nzcvm-2026.9.1/nzcvm.egg-info/scm_file_list.json +121 -0
  80. nzcvm-2026.9.1/nzcvm.egg-info/scm_version.json +8 -0
  81. nzcvm-2026.9.1/nzcvm.egg-info/top_level.txt +1 -0
  82. nzcvm-2026.9.1/pyproject.toml +106 -0
  83. nzcvm-2026.9.1/setup.cfg +4 -0
  84. nzcvm-2026.9.1/src/blend.rs +44 -0
  85. nzcvm-2026.9.1/src/compact_bvh.rs +335 -0
  86. nzcvm-2026.9.1/src/lib.rs +678 -0
  87. nzcvm-2026.9.1/src/mesh.rs +729 -0
  88. nzcvm-2026.9.1/src/model.rs +177 -0
  89. nzcvm-2026.9.1/src/model_tree.rs +396 -0
  90. nzcvm-2026.9.1/src/quality.rs +474 -0
  91. nzcvm-2026.9.1/src/query.rs +50 -0
  92. nzcvm-2026.9.1/src/real.rs +29 -0
  93. nzcvm-2026.9.1/src/simplex.rs +348 -0
  94. nzcvm-2026.9.1/src/surface.rs +207 -0
  95. nzcvm-2026.9.1/src/tree_query.rs +458 -0
  96. nzcvm-2026.9.1/src/triangle.rs +269 -0
@@ -0,0 +1,230 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/python,rust
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python,rust
3
+
4
+ ### Python ###
5
+ # Byte-compiled / optimized / DLL files
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+
10
+ # C extensions
11
+ *.so
12
+
13
+ # Distribution / packaging
14
+ .Python
15
+ build/
16
+ develop-eggs/
17
+ dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ wheels/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # PyBuilder
78
+ .pybuilder/
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ # For a library or package, you might want to ignore these files since the code is
90
+ # intended to run in multiple environments; otherwise, check them in:
91
+ # .python-version
92
+
93
+ # pipenv
94
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
96
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
97
+ # install all needed dependencies.
98
+ #Pipfile.lock
99
+
100
+ # poetry
101
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
102
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
103
+ # commonly ignored for libraries.
104
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
105
+ #poetry.lock
106
+
107
+ # pdm
108
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
109
+ #pdm.lock
110
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
111
+ # in version control.
112
+ # https://pdm.fming.dev/#use-with-ide
113
+ .pdm.toml
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
162
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
+ #.idea/
164
+
165
+ ### Python Patch ###
166
+ # Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
167
+ poetry.toml
168
+
169
+ # ruff
170
+ .ruff_cache/
171
+
172
+ # LSP config files
173
+ pyrightconfig.json
174
+
175
+ ### Rust ###
176
+ # Generated by Cargo
177
+ # will have compiled files and executables
178
+ debug/
179
+
180
+ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
181
+ # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
182
+ Cargo.lock
183
+
184
+ # These are backup files generated by rustfmt
185
+ **/*.rs.bk
186
+
187
+ # MSVC Windows builds of rustc generate these, which store debugging information
188
+ *.pdb
189
+
190
+ # End of https://www.toptal.com/developers/gitignore/api/python,rust
191
+
192
+ /hdf5/
193
+ /.envrc
194
+ *.h5
195
+ /.env
196
+ *.vtkhdf
197
+ *.h5m
198
+ *.vtk
199
+ *.csv
200
+ *.zarr
201
+ *.sfile
202
+ *.rho3dfile
203
+ *.vs3dfile
204
+ *.vp3dfile
205
+ *.wkb.*
206
+
207
+ ### Jujutsu ###
208
+ /.jj/
209
+ .claude/*
210
+ CLAUDE.md
211
+
212
+ ### Local model/resource data & CLI-generated output (large, regenerable) ###
213
+ /models/
214
+ /resources/
215
+ /models_pre_fix/
216
+ /nzcvm_data/
217
+ /basins/
218
+ *.zip
219
+ *.gz
220
+ *.parquet
221
+ velocity_model.json
222
+ velocity_model.toml
223
+
224
+ ### Vale ###
225
+ # `vale sync` downloads the styles named by `Packages` in .vale.ini into
226
+ # StylesPath. Only the project vocabulary under .vale/config is tracked.
227
+ /.vale/*
228
+ !/.vale/config/
229
+ /.vale/config/*
230
+ !/.vale/config/vocabularies/