Commit 3ced739b authored by Purves, Murray's avatar Purves, Murray
Browse files

Moved interpolation description comment to correct file

parent 0ef8a83c
Pipeline #27279 failed with stages
in 5 minutes and 56 seconds
......@@ -30,16 +30,6 @@ void addHour(struct tm *time, int hours)
*time = *localtime(&date_seconds);
}
/**
* @brief interpolateValues Interpolate/extrapolate missing values from a data
* vector Basic capability for now - linear interpolation, extrapolation assumes
* constant from ends.
* @param pressureValues Pressure vector for meteorology - requires all values
* to be present. Used for determining 'interpolation bounds' (there's
* definitely a better phrase for this)
* @param valuesToInterpolate
*/
int main(int argc, char **argv)
{
std::cout << "************************" << std::endl;
......@@ -73,7 +63,7 @@ int main(int argc, char **argv)
std::cout << "\t" << error << std::endl;
}
std::cout << std::endl;
commandLine.printParsedLine(std::cout);
commandLine.printParsedLine(std::c * out);
return -1;
}
......
......@@ -6,6 +6,18 @@
namespace radix
{
/**
* @brief interpolateValues Interpolate/extrapolate missing values from a data
* vector Basic capability for now - linear interpolation, extrapolation assumes
* constant from ends.
* @param baseValues Base vector for interpolation - requires all values
* to be present. Used for determining 'interpolation bounds' (there's
* definitely a better phrase for this)
* @param valuesToInterpolate The values to interpolate
* @param circular Flag indicating whether to use circular interpolation (for
* angles in degrees)
* @param missingValue The value which indicates that the value is missing
*/
std::vector<float> interpolateValues(
const std::vector<float> &baseValues,
const std::vector<float> &valuesToInterpolate, bool circular,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment