vbeam.core.speed_of_sound
Interface for sampling the speed of sound on a line, typically the line between a
sender and a point, and a point and a receiver.
-
class vbeam.core.speed_of_sound.SpeedOfSound[source]
-
abstract average(sender_position: ndarray, point_position: ndarray, receiver_position: ndarray) → float[source]
Sample the speed of sound between the sender, the point position, and the
receiver, and return the average.
All positions are arrays of three elements: (x, y, z).