Function es::fit_power_law_speed¶
- Defined in File fit.h
Function Documentation¶
-
double
es::fit_power_law_speed(const Eigen::ArrayXd &z, const Eigen::ArrayXd &u, const double z_ref = 1.0, const double u_ref = 1.0)¶ Determine best fit of power law to input speed profile.
- Return
- Parameters
z: Vertical locations in m (or normalised, if z_ref = 1.0)u:z_ref: Optional reference height (default 1.0) by which the input z is normalisedu_ref: Optional reference velocity (default 1.0) by which the input u is normalised