Version:

salvus.opt.misfits.l2_misfit

salvus.opt.misfits.l2_misfit salvus opt misfits l2_misfit
L2 misfits and adjoint sources.

Functions

l2_energy_misfit_and_adjoint_source()

Compute the energy L2 misfits and adjoint sources.
It is sensitive to all energy arriving at the receiver.
This misfit does not require observed data.
SIGNATURE
def l2_energy_misfit_and_adjoint_source(
    data_array_synthetic: xr.DataArray,
    event: Event,
    data_array_observed: None = None,
) -> xr.Dataset: ...
ARGUMENTS
Required
data_array_synthetic
Type:xr.DataArray
Description:
synthetic waveforms.
Required
event
Type:Event
Description:
Event object.
Optional
data_array_observed
Type:None
Default value:None
Description:
observed waveforms. Must be None!
RETURNS
Return type: xr.Dataset

l2_misfit_and_adjoint_source()

Compute the L2 misfit and adjoint source.
SIGNATURE
def l2_misfit_and_adjoint_source(
    data_array_synthetic: xr.DataArray,
    data_array_observed: xr.DataArray,
    event: Event,
) -> xr.Dataset: ...
ARGUMENTS
Required
data_array_synthetic
Type:xr.DataArray
Description:
synthetic waveforms.
Required
data_array_observed
Type:xr.DataArray
Description:
observed waveforms.
Required
event
Type:Event
Description:
Event object.
RETURNS
Return type: xr.Dataset
PAGE CONTENTS