-
Notifications
You must be signed in to change notification settings - Fork 11
Allow for custom misfit functions #8
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestpybind-enhancementAn enhancement of the code that must likely be done on the Python/C++ interface.An enhancement of the code that must likely be done on the Python/C++ interface.
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpybind-enhancementAn enhancement of the code that must likely be done on the Python/C++ interface.An enhancement of the code that must likely be done on the Python/C++ interface.
I want to include a routine on the Python side that allows for custom misfit functions and adjoint sources. This can be easily facilitated by using
psvWave/src/psvWave.cpp
Line 460 in de1b8a9
fdModel.calculate_l2_misfitandfdModel.calculate_l2_adjoint_sourcesmethods, possibly aliasing that first to something more general, i.e.calculate_misfit.