salvus.flow.collections.event_misfit_collection
salvus.flow.collections.event_misfit_collection salvus flow collections event_misfit_collection Event misfit collection object.
Classes
EventMisfitCollection
EventMisfitCollectionclass EventMisfitCollection(builtins.object):
def __init__(
self,
observed_event_collection: EventDataCollection | None = None,
synthetic_event_collection: EventDataCollection,
misfit_function: str | collections.abc.Callable,
extra_kwargs_misfit_function: dict | None = None,
receiver_field: str,
): ...A collection of event misfits.
Parameters
observed_event_collectionEventDataCollection | None — The observed data. Optional because certain types of misfits can be computed without observed data. In that case the misfit function must also not take observed data.synthetic_event_collectionEventDataCollection — Synthetic data.misfit_functionstr | collections.abc.Callable — The misfit function as a string or Python function.jextra_kwargs_misfit_functiondict | None — Extra arguments passed to the misfit function.receiver_fieldstr — The field on which to compute the adjoint sources.
Attributes
misfit_dictionary dict[str, float]
misfit_dictionary dict[str, float]Misfit for every event.
total_misfit float
total_misfit floatCumulative misfit.