Repository navigation
Conversation
…' is absent for radial anisotropy and improve error handling for H5 exceptions
…arameters for radial anisotropy and enhance sensitivity calculations
…s for Azure runners to bypass UCX issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes important corrections and clarifications to the kernel combination and optimization logic, primarily to ensure that the physical model values are properly included in sensitivity calculations and that the chain rule is consistently applied. The changes also improve error handling and clarify documentation.
Kernel combination and chain rule corrections:
preproc::combine_kernelsnow multiplies sensitivities by the physical model values (vs,vp,rho) for all relevant terms, ensuring the correct application of the chain rule for multiplicative parameters. This affects both Rayleigh and Love wave cases, as well as density kernels. [1] [2] [3] [4]Optimization and gradient handling:
field_dot_globalis simplified: the chain rule is now handled entirely incombine_kernels, so the dot product is always between the kernel and the direction, with a special case for radial anisotropy to account forvsh.calc_descent_angleandwolfe_conditionis clarified to reflect the new chain rule handling and the relationship between multiplicative updates and the descent step. [1] [2]Model loading and error handling:
vsvtovsifvsvis not present for radial anisotropy, with an informational log message.H5::Exceptionand logging a more informative error message.