Calculate the angle between a vector and y-axis, not the x-axis as in atan2
atan3(x, y)
The x coordinate from the (x, y) locations.
The y coordinate from the (x, y) location for an organism.
This is a helper function. It is called in another function but is otherwise not "outward facing".
This function calculates the angle between a vector and the y-axis. The base function atan2 calculates the angle between a vector and the x-axis, which is not desirable in this case.
If the data will be aggregated, it is recommended to aggregate the data before running this function.