Skip to content

Commit 088ca14

Browse files
committed
Fix tipper test
1 parent 209c851 commit 088ca14

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

  • simpeg_drivers/utils/synthetics/surveys/natural_sources

simpeg_drivers/utils/synthetics/surveys/natural_sources/tipper.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ def generate_tipper_survey(
3939
],
4040
channels=list(channels),
4141
)
42-
survey.base_stations = TipperBaseStations.create(
43-
geoh5, vertices=np.c_[vertices[0, :]].T
44-
)
42+
base_station = TipperBaseStations.create(geoh5, vertices=np.c_[vertices[0, :]].T)
43+
base_station.tx_id_property = np.r_[1]
44+
45+
survey.base_stations = base_station
46+
survey.tx_id_property = np.ones(survey.n_vertices, dtype=int)
47+
4548
survey.remove_cells(mask_large_connections(survey, 200.0))
4649

4750
return survey

0 commit comments

Comments
 (0)