Mondaic
This API reference is not for the latest stable Salvus version.

salvus.opt.misfits.cross_correlation_time_shift

Cross correlation time shift misfits and adjoint sources.

Functions

cross_correlation_no_observed_data()

def cross_correlation_no_observed_data(
    data_synthetic: numpy.ndarray, sampling_rate_in_hertz: float
) -> Tuple[float, numpy.ndarray]:
    ...

Cross correlation misfit without observed data.

This misfit is thus meaningless.

Parameters
  • data_synthetic numpy.ndarray — synthetic waveforms.
  • sampling_rate_in_hertz float — Sampling rate.
Returns Tuple[float, numpy.ndarray] — tuple of misfit value and adjoint source

cross_correlation_time_shift()

def cross_correlation_time_shift(
    data_synthetic: numpy.ndarray,
    data_observed: numpy.ndarray,
    sampling_rate_in_hertz: float,
) -> Tuple[float, numpy.ndarray]:
    ...

Compute the the cross correlation time shift misfit and adjoint source

Parameters
  • data_synthetic numpy.ndarray — synthetic waveforms.
  • data_observed numpy.ndarray — observed waveforms.
  • sampling_rate_in_hertz float — Sampling rate.
Returns Tuple[float, numpy.ndarray] — tuple of misfit value and adjoint source