At the moment, the sources implement in physics/acoustics/source.jl take the follow arguments:
point_source(medium, source_position, amplitude), where amplitude is a constant.
Allowing amplitude to be a function of frequency ω has many uses: shift the source in time, allow for one source to use, say, a Gaussian filter, while another source can still use a sinc filter. There are almost no drawbacks to this generalisation, so I will implement.
At the moment, the sources implement in physics/acoustics/source.jl take the follow arguments:
point_source(medium, source_position, amplitude)
, whereamplitude
is a constant.Allowing
amplitude
to be a function of frequencyω
has many uses: shift the source in time, allow for one source to use, say, a Gaussian filter, while another source can still use a sinc filter. There are almost no drawbacks to this generalisation, so I will implement.