SourceSet¶
-
class
pysit.core.sources.
SourceSet
(mesh, sources, **kwargs)[source]¶ Bases:
pysit.core.sources.SourceBase
,pysit.core.mesh_representation.MeshRepresentationBase
Attributes Summary
source_count
Methods Summary
f
(self[, t, nu])Evaluate source emitter at time t on numerical grid. get_source_count
(self)serialize_dict
(self)set_shot
(self, shot)unserialize_dict
(self, d)w
(self[, t, nu])Attributes Documentation
-
source_count
¶
Methods Documentation
-
f
(self, t=0.0, nu=None, **kwargs)[source]¶ Evaluate source emitter at time t on numerical grid.
Parameters: - t : float
Time at which to evaluate the source wavelet.
- nu : float, optional
Frequency at which to evaluate the wavelets
- **kwargs : dict, optional
May pass additional parameters to the source wavelet call.
Returns: - The function w evaluated on a grid as an ndarray shaped like the domain.
-