uwacan.Track.average_course#

Track.average_course(resolution=None)[source]#

Calculate the average course in the track.

The average course is the average angle of the course, calculated to handle wrapping. See average_angle for more details.

Parameters:
resolutionstr, int, optional

If a numerical resolution is given, the output will be rounded to this many parts of a turn. If a string “four”, “eight”, or “sixteen”, is given, the output is a string with the closest named bearing.