mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-30 09:06:13 +08:00
changes references for Transmitter to Source
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ class Fields(object):
|
||||
srcTestList = [srcTestList]
|
||||
for srcTest in srcTestList:
|
||||
if srcTest not in self.survey.srcList:
|
||||
raise KeyError('Invalid Transmitter, not in survey list.')
|
||||
raise KeyError('Invalid Source, not in survey list.')
|
||||
|
||||
ind = np.in1d(self.survey.srcList, srcTestList)
|
||||
return ind
|
||||
|
||||
Reference in New Issue
Block a user