Skip to content

Commit 4397967

Browse files
committed
Clean up
1 parent e7731b8 commit 4397967

1 file changed

Lines changed: 0 additions & 37 deletions

File tree

simpeg/dask/simulation.py

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -171,40 +171,3 @@ def _get_client_worker(self) -> tuple:
171171

172172

173173
Sim._get_client_worker = _get_client_worker
174-
175-
176-
# TODO: Make dpred parallel
177-
# def dpred(self, m=None, f=None):
178-
# r"""Predicted data for the model provided.
179-
#
180-
# Parameters
181-
# ----------
182-
# m : (n_param,) numpy.ndarray
183-
# The model parameters.
184-
# f : simpeg.fields.Fields, optional
185-
# If provided, will be used to compute the predicted data
186-
# without recalculating the fields.
187-
#
188-
# Returns
189-
# -------
190-
# (n_data, ) numpy.ndarray
191-
# The predicted data vector.
192-
# """
193-
# if self.survey is None:
194-
# raise AttributeError(
195-
# "The survey has not yet been set and is required to compute "
196-
# "data. Please set the survey for the simulation: "
197-
# "simulation.survey = survey"
198-
# )
199-
#
200-
# if f is None:
201-
# if m is None:
202-
# m = self.model
203-
#
204-
# f = self.fields(m)
205-
#
206-
# data = Data(self.survey)
207-
# for src in self.survey.source_list:
208-
# for rx in src.receiver_list:
209-
# data[src, rx] = rx.eval(src, self.mesh, f)
210-
# return mkvc(data)

0 commit comments

Comments
 (0)