org-arl / AcousticRayTracers.jl

Differentiable acoustic ray tracers
MIT License
7 stars 0 forks source link

Support range-dependence of SSP in beam calculations #10

Open mchitre opened 1 year ago

mchitre commented 1 year ago

While RaySolver() accepts range-dependent SSP, it only partially supports it, as the derivates of sound speed in beam calculation do not use range-dependence. This means intensity calculation may not be accurate.

https://github.com/org-arl/AcousticRayTracers.jl/blob/d4d5adc4303df493a13f4b26a60d48f299f4b339/src/RaySolver.jl#L186-L201

mchitre commented 1 year ago

RaySolver() ignores range-dependent SSP in generating a ray trace: https://github.com/org-arl/AcousticRayTracers.jl/blob/29a7870ded1605368580ea6b32cf4d5d8a7d99d0/src/RaySolver.jl#L213