---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-15-71cda1abe852> in <module>()
146 _reflexive_scalar_boundary_conditions = not_implemented
147
--> 148 class MexHatSource(object):
149 r"""
150 A wave source that vibrates as a Mexican hat (Ricker) wavelet.
TypeError: Error when calling the metaclass bases
list() takes at most 1 argument (3 given)
def elastic_sh(mu, density, area, dt, iterations, sources, stations=None,
snapshot=None, padding=50, taper=0.005):
# Parameters:nx = 200nz = 200 dx = 10 dz = 10 vel = numpy.zeros([dx,dz])vel = 300.*velshape = (nz,nx) # * area : [xmin, xmax, zmin, zmax]area = [0,nx, 0, nz]
# The x, z limits of the simulation area, e.g., the shallowest point is# at zmin, the deepest at zmax.# * dt : float# The time interval between iterations
dt = 0.02
# * iterations : int# Number of time steps to take
iterations = 200
# * sources : list# A list of the sources of waves# (see :class:`~fatiando.seismic.wavefd.MexHatSource` for an example# source)sources = [`~fatiando.seismic.wavefd.MexHatSource`]
scalar(vel, area, dt, iterations, sources, stations=None, snapshot=None, padding=50, taper=0.005)
--
You received this message because you are subscribed to the Google Groups "Fatiando a Terra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fatiando+u...@googlegroups.com.
To post to this group, send email to fati...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
conda install numpy scipy matplotlib basemap imaging mayavi pip
--
Thank you. Now i get this error:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-49384435cd87> in <module>()
963 # object = [100, 100,area, shape, 1, 25, 0]
964 # source = MexHatSource(object)
--> 965 sources = [`~fatiando.seismic.wavefd.MexHatSource`]
966
967 # * stations : None or list
NameError: name 'fatiando' is not defined
--