def __normalize(npy_array):
    """Normalize <npy_array> by its maximum in absolute value.
    If maximum is null, return the same array.
    """
    M = max(abs(npy_array))
    if M:
        return npy_array / M
    
    return npy_array