salvus.opt.data_normalizations.l2_energy_per_measurement
L2 energy per measurement data normalization and its jacobian.
Functions
forward_data_normalization_l2_energy_per_measurement()
forward_data_normalization_l2_energy_per_measurement()def forward_data_normalization_l2_energy_per_measurement(
data_synthetic: numpy.ndarray,
data_observed: numpy.ndarray,
sampling_rate_in_hertz: float,
) -> builtins.tuple: ...Normalize a data trace by its L2 energy norm.
Parameters
data_syntheticnumpy.ndarray — The synthetic data trace without normalization.data_observednumpy.ndarray — The observed data trace without normalization.sampling_rate_in_hertzfloat — The sampling rate of both data traces in Hz.
Returns builtins.tuple
jacobian_data_normalization_l2_energy_per_measurement()
jacobian_data_normalization_l2_energy_per_measurement()def jacobian_data_normalization_l2_energy_per_measurement(
adjoint_source: numpy.ndarray,
data_synthetic: numpy.ndarray,
data_observed: numpy.ndarray,
sampling_rate_in_hertz: float,
) -> numpy.ndarray: ...Apply the jacobian on L2 energy normalization to an adjoint source.
Parameters
adjoint_sourcenumpy.ndarray — The adjoint source.data_syntheticnumpy.ndarray — The synthetic data trace without normalization.data_observednumpy.ndarray — The observed data trace without normalization.sampling_rate_in_hertzfloat — The sampling rate of the adjoint source and data in Hz.
Returns numpy.ndarray