flasc.utilities.circular_statistics.calculate_wd_statistics#
- flasc.utilities.circular_statistics.calculate_wd_statistics(angles_array_deg, axis=0, calc_median_min_max_std=True)[source]#
Determine statistical properties of an array of wind directions.
This includes the mean of the array, the median, the standard deviation, the minimum value and the maximum value.
- Parameters:
angles_array_deg (numpy array) -- Array of wind directions in degrees
axis (int) -- Axis along which to calculate the statistics Default is 0
calc_median_min_max_std (bool) -- Whether to calculate the median, minimum, maximum, and standard deviation of the wind directions Default is True
- Returns:
mean_wd (float): Mean wind direction in [0, 360] deg median_wd (float): Median wind direction in [0, 360] deg std_wd (float): Standard deviation in deg min_wd (float): Minimum wind direction in [0, 360] deg max_wd (float): Maximum wind direction in [0, 360] deg
- Return type:
A tuple containing the following values