mirror of
https://github.com/wassname/simpegSeis.git
synced 2026-09-09 11:34:31 +08:00
Fixed no uid error by initing parent class
This commit is contained in:
@@ -13,6 +13,7 @@ class AcousticSrc(Survey.BaseSrc):
|
||||
self.loc = loc
|
||||
self.rxList = rxList
|
||||
self.kwargs = kwargs
|
||||
super(AcousticSrc, self).__init__(rxList)
|
||||
|
||||
|
||||
def RickerWavelet(self):
|
||||
@@ -457,4 +458,3 @@ if __name__ == '__main__':
|
||||
fig, ax = plt.subplots(1, 1, figsize = (5,5))
|
||||
ax.imshow(np.flipud(U[0][:,icount].reshape((mesh.nCx, mesh.nCy), order = 'F').T), cmap = 'binary')
|
||||
plt.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user