4.7.1.8. meteo_si.wind

4.7.1.8.1. Module Contents

4.7.1.8.1.1. Functions

circular_mean(angles)

Compute the arithmetic circular mean, not ignoring NaNs.

nan_circular_mean(angles)

Compute the arithmetic circular mean, ignoring NaNs.

circular_mean_deg(angles)

Compute the arithmetic circular mean, not ignoring NaNs.

nan_circular_mean_deg(angles)

Compute the arithmetic circular mean, ignoring NaNs.

circular_mean(angles)[source]

Compute the arithmetic circular mean, not ignoring NaNs.

Parameters

angles (list or array) – The angles for averaging in radians.

Returns

mean – The circular mean in radians.

Return type

float

nan_circular_mean(angles)[source]

Compute the arithmetic circular mean, ignoring NaNs.

Parameters

angles (list or array) – The angles for averaging in radians.

Returns

mean – The circular mean in radians.

Return type

float

circular_mean_deg(angles)[source]

Compute the arithmetic circular mean, not ignoring NaNs.

Parameters

angles (list or array) – The angles for averaging in degrees.

Returns

mean – The circular mean in degrees.

Return type

float

nan_circular_mean_deg(angles)[source]

Compute the arithmetic circular mean, ignoring NaNs.

Parameters

angles (list or array) – The angles for averaging in degrees.

Returns

mean – The circular mean in degrees.

Return type

float