Models reverberation scattering strength as a constant factor that is independent of grazing angle and frequency.
scattering_constant | ( | double | amplitude = -300.0 |
) | [inline] |
Initialize model with a constant factors.
amplitude | Reverberation scattering strength (dB). Provided in dB but converted to ratio internally. |
virtual void scattering | ( | const wposition & | location, | |
const seq_vector & | frequencies, | |||
double | de_incident, | |||
matrix< double > | de_scattered, | |||
double | az_incident, | |||
matrix< double > | az_scattered, | |||
matrix< vector< double > > * | amplitude | |||
) | [inline, virtual] |
Computes the broadband scattering strength for a collection of scattering angles from a common incoming ray.
Each scattering has its own location, de_scattered, and az_scattered. The result is a broadband reverberation scattering strength for each scattering.
location | Location at which to compute attenuation. | |
frequencies | Frequencies over which to compute loss. (Hz) | |
de_incident | Depression incident angle (radians). | |
de_scattered | Depression scattered angle (radians). | |
az_incident | Azimuthal incident angle (radians). | |
az_scattered | Azimuthal scattered angle (radians). | |
amplitude | Reverberation scattering strength ratio (output). |
Implements scattering_model.
virtual void scattering | ( | const wposition1 & | location, | |
const seq_vector & | frequencies, | |||
double | de_incident, | |||
double | de_scattered, | |||
double | az_incident, | |||
double | az_scattered, | |||
vector< double > * | amplitude | |||
) | [inline, virtual] |
Computes the broadband scattering strength for a single location.
location | Location at which to compute attenuation. | |
frequencies | Frequencies over which to compute loss. (Hz) | |
de_incident | Depression incident angle (radians). | |
de_scattered | Depression scattered angle (radians). | |
az_incident | Azimuthal incident angle (radians). | |
az_scattered | Azimuthal scattered angle (radians). | |
amplitude | Reverberation scattering strength ratio (output). |
Implements scattering_model.
double _amplitude [private] |
Holds the reverberation scattering strength ratio.