salvus.project.tools.task_chains.prebuilt_workflows.task_generators.generate_misfit_computation_task
Functions
generate_misfit_computation_task()
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_namestr — Name of the event.data_proxy_filenamepathlib.Path — The data proxy filename.misfit_configurationsalvus.project.configuration.misfit_configuration.MisfitConfiguration — The misfit configuration.processing_configurationtypes — The processing configuration if applicable.data_selection_configurationtypes — The data selection configuration if applicable.write_adjoint_source_filebool — Flag to indicate if the task chain will compute gradients in a subsequent task and thus requires the adjoint source file.
Returns Callable