neuroprob/utils/signal.py
def resultant_length(x, y):
    """
    Returns the mean resultant length R of the residual distribution
    """
    return torch.sqrt(torch.mean(torch.cos(x-y))**2 + torch.mean(torch.sin(x-y))**2)

    Returns the mean resultant length R of the residual distribution
    
Returns the mean resultant length R of the residual distribution
Returns the mean resultant length R of the residual distribution
def resultant_length(x, y):
    return torch.sqrt(torch.mean(torch.cos(x-y))**2 + torch.mean(torch.sin(x-y))**2)
def resultant_length ( x , y ) : return torch . sqrt ( torch . mean ( torch . cos ( x - y ) ) ** 2 + torch . mean ( torch . sin ( x - y ) ) ** 2 )
Returns the mean resultant length R of the residual distribution
Returns the mean resultant length R of the residual distribution
"""
    Returns the mean resultant length R of the residual distribution
    """
x
y