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

salvus.project.tools.task_chains.prebuilt_workflows.task_generators.generate_misfit_computation_task

Functions

generate_misfit_computation_task()

def generate_misfit_computation_task(
    event_name: str,
    data_proxy_filename: pathlib.Path,
    misfit_configuration: salvus.project.configuration.misfit_configuration.MisfitConfiguration,
    processing_configuration: types,
    data_selection_configuration: types,
    write_adjoint_source_file: bool,
) -> Callable: ...

Generate the misfit computation task.

Parameters
  • event_name str — Name of the event.
  • data_proxy_filename pathlib.Path — The data proxy filename.
  • misfit_configuration salvus.project.configuration.misfit_configuration.MisfitConfiguration — The misfit configuration.
  • processing_configuration types — The processing configuration if applicable.
  • data_selection_configuration types — The data selection configuration if applicable.
  • write_adjoint_source_file bool — Flag to indicate if the task chain will compute gradients in a subsequent task and thus requires the adjoint source file.
Returns Callable