Skip to content

Commit d8ad750

Browse files
committed
Try different prints
1 parent 92c8da4 commit d8ad750

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

simpeg_drivers/plate_simulation/match/driver.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,9 @@ def normalized_data(data: np.ndarray, threshold=5) -> np.ndarray:
426426
427427
:return: Normalized data array.
428428
"""
429-
print(np.abs(data).min(), np.abs(data).max())
430429
thresh = np.percentile(np.abs(data), threshold)
431-
print(thresh)
432430
log_data = symlog(data, thresh)
433431
centered_log = log_data - np.median(log_data)
434-
print(centered_log.min(), centered_log.max())
435432
return centered_log / np.abs(centered_log).max()
436433

437434

tests/plate_simulation/runtest/match_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def test_matching_driver(tmp_path: Path):
143143
plate_options.model.overburden_model.thickness = 40.0
144144
plate_options.model.plate_model.dip_length = 300.0
145145
driver = PlateSimulationDriver(plate_options)
146+
print(np.where(driver.simulation_driver.models.active_cells)[0].mean())
146147
driver.run()
147148

148149
# Make copies of the generated simulation file to emulate a sweep
@@ -185,7 +186,7 @@ def test_matching_driver(tmp_path: Path):
185186
for uid in prop_group.properties:
186187
child = survey.get_entity(uid)[0]
187188
child.values = child.values[::-1]
188-
print(child.values.min(), child.values.max())
189+
189190
# Change the strike angle to simulate a different orientation
190191
strikes = components.queries.add_data(
191192
{

0 commit comments

Comments
 (0)