hyperdd 0.2.0__py3-none-any.whl → 0.2.1.dev1__py3-none-any.whl
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.
- hyperdd/io/inputs.py +2 -2
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/METADATA +1 -1
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/RECORD +7 -7
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/WHEEL +0 -0
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/entry_points.txt +0 -0
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/licenses/LICENSE +0 -0
- {hyperdd-0.2.0.dist-info → hyperdd-0.2.1.dev1.dist-info}/top_level.txt +0 -0
hyperdd/io/inputs.py
CHANGED
|
@@ -133,9 +133,9 @@ def write_hypodd_inputs(run_dir, events, stations, dt, velocity, damp, iter_sets
|
|
|
133
133
|
for s in iter_sets:
|
|
134
134
|
f.write(" " + " ".join(str(x) for x in tuple(s) + ((damp,) if len(s) == 9 else ())) + "\n")
|
|
135
135
|
if np.ndim(vpvs) == 0: # IMOD 0: one Vp/Vs
|
|
136
|
-
f.write(f"0\n{len(tops)} {vpvs}\n" + " ".join(f"{x:.
|
|
136
|
+
f.write(f"0\n{len(tops)} {vpvs}\n" + " ".join(f"{x:.4f}" for x in tops) + "\n" + " ".join(f"{x:.4f}" for x in vp) + "\n")
|
|
137
137
|
else: # IMOD 1: tops, velocities and Vp/Vs per layer, each line closed by -9
|
|
138
|
-
f.write("1\n" + " ".join(f"{x:.
|
|
138
|
+
f.write("1\n" + " ".join(f"{x:.4f}" for x in tops) + " -9\n" + " ".join(f"{x:.4f}" for x in vp) + " -9\n" + " ".join(f"{x:.4f}" for x in vpvs) + " -9\n")
|
|
139
139
|
f.write(" 0\n") # CID 0: all clusters
|
|
140
140
|
|
|
141
141
|
|
|
@@ -16,7 +16,7 @@ hyperdd/geodesy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
16
16
|
hyperdd/geodesy/coordinates.py,sha256=zFSd7UKzZb5m_gLGBzAvzOYfm6fV8RBef79S6Mu0suc,10300
|
|
17
17
|
hyperdd/geodesy/delaz_vec.py,sha256=55JaRwJ0g-yja5vRLK7noQqtP57qnaUf20V0eizQ6xg,1986
|
|
18
18
|
hyperdd/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
hyperdd/io/inputs.py,sha256=
|
|
19
|
+
hyperdd/io/inputs.py,sha256=wIGRrfaevakwXq2BDr5NDI3yJUFfucwId3K6SVLA_Sg,10410
|
|
20
20
|
hyperdd/io/ph2dt.py,sha256=fTRBS7wKNyCIlai6uglPcKDLccFmjxeSzGkiRA10bt0,35597
|
|
21
21
|
hyperdd/io/readers.py,sha256=XY4NSFZDYgabzqNQTw-PDLydWqzjpQdqusI2rs5SxVI,8936
|
|
22
22
|
hyperdd/io/readers_csv.py,sha256=CtcsaTWhQls6VchBip9lyfQ_t8T4lgiA0bhp3ZTHWvk,4603
|
|
@@ -38,9 +38,9 @@ hyperdd/solvers/schur.py,sha256=dj77k7V9837WCRHFHoG9DDcdkrD3634AfeU5SGP7pxM,4123
|
|
|
38
38
|
hyperdd/solvers/sparse_chol.py,sha256=TYRqE3McwkkZgBCLpdUh08ERI1XMscNcIOqbK1VYLt8,8641
|
|
39
39
|
hyperdd/solvers/stats.py,sha256=krLQZ_KOwBpsxhnw1bZ8DLHuGYgHKpIuhWb1CjzIxBk,3300
|
|
40
40
|
hyperdd/solvers/svd.py,sha256=j8vx7KzgoX8fQ0KpwLLmYVPsyAOwvc_7Q4rq5gVQetU,9438
|
|
41
|
-
hyperdd-0.2.
|
|
42
|
-
hyperdd-0.2.
|
|
43
|
-
hyperdd-0.2.
|
|
44
|
-
hyperdd-0.2.
|
|
45
|
-
hyperdd-0.2.
|
|
46
|
-
hyperdd-0.2.
|
|
41
|
+
hyperdd-0.2.1.dev1.dist-info/licenses/LICENSE,sha256=sJNfJ5qJDP8i--R7TPFF3TjLVegAJFWAQDfyim8-_1g,1063
|
|
42
|
+
hyperdd-0.2.1.dev1.dist-info/METADATA,sha256=S0Y4HOa3WL3hCF_0q8rwvsIGLHRVBUwP85hcshdUPGk,673
|
|
43
|
+
hyperdd-0.2.1.dev1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
44
|
+
hyperdd-0.2.1.dev1.dist-info/entry_points.txt,sha256=i5fNsYwSNsaP897LLUUBONiWH_NbyLPIooZAV9N6k5w,93
|
|
45
|
+
hyperdd-0.2.1.dev1.dist-info/top_level.txt,sha256=3kbPhhomE0SUwaIeCCEGpxKgitY8RF9iZv_e9hY0yaE,8
|
|
46
|
+
hyperdd-0.2.1.dev1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|