Calculates an average of the specified sequence of IMeasurement phase angle values.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static double AverageAngleValueFilter( IEnumerable<IMeasurement> source )
Public Shared Function AverageAngleValueFilter ( _ source As IEnumerable(Of IMeasurement) _ ) As Double
public: static double AverageAngleValueFilter( IEnumerable<IMeasurement^>^ source )
Parameters
- source (IEnumerable<(Of <(<'IMeasurement>)>)>)
- Sequence of IMeasurement values over which to run calculation.
Return Value
Average of the specified sequence of IMeasurement phase angle values.
Remarks
Phase angles wrap, so this algorithm takes the wrapping into account when calculating the average.