JuliaWaveScattering / MultipleScattering.jl

A Julia library for simulating, processing, and plotting multiple scattering of waves.
Other
46 stars 12 forks source link

Time of flight shape is wrong #9

Closed jondea closed 6 years ago

jondea commented 6 years ago

Time of flight has been written as constant time of flight from a point source, however it was intended (from the old package) to be the time of flight from a planar wave (noticed by Art). This means that all the functions related to it are wrong. Suggesting moving current shape to type called TimeOfFlightFromPoint and making TimeOfFlight the planar version (to make it work with old data). Could perhaps change this to TimeOfFlightFromPlanar in a later release to avoid ambiguity.

jondea commented 6 years ago

If listener and line source is at origin, equation for boundary of time of flight from planar wave is x+sqrt(x^2+y^2)=time

(Art)