Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mean phase deviation (MPD) indicator #16

Open
Ayubirad opened this issue Jun 22, 2023 · 2 comments
Open

mean phase deviation (MPD) indicator #16

Ayubirad opened this issue Jun 22, 2023 · 2 comments

Comments

@Ayubirad
Copy link

Dear @twmacro

Please have look at the following paper and the mean phase deviation (MPD) indicator. I think it is a useful measure alongside other modal indicators to distinguish physical modes (generally MPD < 0.3 is good):

Here's the code to implement MPD:

def mean_phase_deviation(u):
    """Mean phase deviation of mode vector u

    Mean phase deviation (MPD) is the deviation in phase from the mean
    phase and is a measure of mode shape complexity.

    Arguments
    ---------
    u : 1darray[complex]
        Mode shape vector

    Returns
    -------
    float
        Mean phase deviation of the mode vector

    References
    ----------
    [Reynders2012] Reynders, E., Houbrechts, J., De Roeck, G., 2012.
        Fully automated (operational) modal analysis. Mechanical
        Systems and Signal Processing 29, 228–250.
        https://doi.org/10.1016/j.ymssp.2012.01.007
    """
    u = np.asarray(u)
    U, s, VT = np.linalg.svd(np.c_[u.real, u.imag])
    V = VT.T
    w = np.abs(u)
    num = u.real*V[1, 1] - u.imag*V[0, 1]
    den = np.sqrt(V[0, 1]**2+V[1, 1]**2)*np.abs(u)
    return np.sum(w*np.arccos(np.abs(num/den))) / np.sum(w)

Best regards,
Ayubirad

@twmacro
Copy link
Owner

twmacro commented Jun 22, 2023

Thank you very much, @Ayubirad! I have the paper now, and I'll definitely check it out. :-)

Best regards,
Tim

@dfdffbdf
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants