bsfit.nodes.cirpy.utils

Useful functions for circular statistics

Copyright 2022 by Steeve Laquitaine, GNU license

Functions

get_cartesian_to_deg(x, y, signed)

convert cartesian coordinates to angles in degree

get_circ_conv(X_1, X_2)

convolve circular data

get_circ_weighted_mean_std(angle, proba, type)

calculate circular data statistics

get_deg_to_rad(deg, signed)

convert angles in degree to radian

get_polar_to_cartesian(angle, radius, type)

convert angle in degree or radian to cartesian coordinates

get_rad_to_deg(rad)

convert angles in radian to degree

get_signed_angle(origin, destination, type)

get the signed angle difference between origin and destination angles