salvus.project.configuration.event_configuration
salvus.project.configuration.event_configuration salvus project configuration event_configuration Event configuration.
Classes
EventConfiguration
EventConfigurationclass EventConfiguration(
salvus.flow.utils.serialization_helpers.SerializationMixin
):
def __init__(
self,
wavelet: stf._Base | typing.Sequence[stf._Base],
waveform_simulation_configuration: WaveformSimulationConfiguration,
): ...Event specific configuration.
Parameters
waveletstf._Base | typing.Sequence[stf._Base] — Source wavelet.waveform_simulation_configurationWaveformSimulationConfiguration — More specialized configuration of the waveform simulation by being able to directly specify a subset of the actual simulation input files.
Methods
from_json()
from_json()def from_json(d: builtins.dict) -> Any: ...Recreate the object from a dictionary serialization of its initialization parameters.
Parameters
dbuiltins.dict — Dictionary containing its init parameters and a few other things.
Returns Any
to_json()
to_json()def to_json(
self,
external_file_hash: types = None,
timer: types = None,
log_to_logger: bool = False,
comm: types = None,
) -> builtins.dict: ...Serialize the object to a dictionary that can be written to JSON.
Parameters
external_file_hashtypes — Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file.timertypes — Execution timer.log_to_loggerbool — Log timings to the logger.commtypes — MPI communicator, if any.
Returns builtins.dict
Used in tutorials
- 2-D Global-scale simulations w/ heterogeneous models
- Acoustic simulations in isotropic and anisotropic media
- Attenuation
- Conical Pitting
- Constructing the Starting Model
- Continental Scale FWI - Part 2: Forward simulations
- Continental Scale FWI Tutorial - Part 3: Data selection and misfit definition
- Continental-scale Simulations
- Creating and plotting custom gathers from Salvus' receiver outputs
- Equivalence of Filtering STFs and Filtering Synthetics
- External 2D Meshes
- External 3D Meshes
- Full-Waveform Inversion
- Full-Waveform Inversion
- How to combine (fuse) measured and simulated data in Salvus