One species of the library.
#include <ParameterLibrary.h>
|
| double | SigmaBsPerKg (double meanLengthCm, double frequencykHz) const |
| |
| double | WeightKg (double lengthCm) const |
| |
|
double | LengthCv () const |
| | The coefficient of variation of the length spread around the mean.
|
| |
◆ SigmaBsPerKg()
| double ParameterLibrary::Species::SigmaBsPerKg |
( |
double |
meanLengthCm, |
|
|
double |
frequencykHz |
|
) |
| const |
The backscattering cross section per kilogram, averaged over the length spread.
The lengths are a normal distribution around meanLengthCm with standard deviation LengthCv() times the mean, sampled at 81 points over plus and minus four standard deviations; sigma_bs and the weight are both averaged over it, and their ratio is returned.
- Parameters
-
| meanLengthCm | The mean length, cm. |
| frequencykHz | The frequency, kHz; must be one the library has data for. |
- Returns
- sigma_bs per kg, m^2/kg.
- Exceptions
-
| std::invalid_argument | if the species has no data at frequencykHz, or (a table) when the length spread reaches outside the tabulated lengths. |
◆ WeightKg()
| double ParameterLibrary::Species::WeightKg |
( |
double |
lengthCm | ) |
const |
The weight of one animal of a given length, W = a L^b.
- Parameters
-
- Returns
- The weight, kg.
The documentation for this class was generated from the following file: