sdypy-excitation


Namesdypy-excitation JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryExcitation signals as used in structural dynamics and vibration fatigue.
upload_time2024-02-23 09:17:10
maintainer
docs_urlNone
author
requires_python>=3.10
license
keywords excitation signals structural dynamics vibration fatigue
VCS
bugtrack_url
requirements pyExSi
Travis-CI No Travis.
coveralls test coverage No coveralls.
            sdypy-excitation
================

Frequency response function as used in structural dynamics.
-----------------------------------------------------------

The ``sdypy-excitation`` is a namespace project of the ``sdypy`` framework and is a direct link
to the ``pyExSi`` package (developed at `pyFRF <https://github.com/ladisk/pyExSi>`_).

Use the ``sdypy`` package to conveniently access the functionality of the
`pyFRF <https://github.com/ladisk/pyExSi>`_ package through its namespace (see example below). 

Other functionalities of the ``sdypy`` framework include:

- `sdypy-EMA <https://github.com/sdypy/sdypy-EMA>`_: Experimental Modal Analysis
- `sdypy-io <https://github.com/sdypy/sdypy-io>`_: Input/Output operations (LVM files, UFF files)
- `sdypy-FRF <https://github.com/sdypy/sdypy-FRF>`_: Frequency Response Function estimation


For more information check out the showcase examples and see documentation_.

Basic ``sdypy-excitation`` usage:
---------------------------------

Import the module:
~~~~~~~~~~~~~~~~~~

.. code:: python

    import numpy as np

    # import the sdypy module
    import sdypy as sd

    N = 2**16 # number of data points of time signal
    fs = 1024 # sampling frequency [Hz]
    t = np.arange(0,N)/fs # time vector

    # define frequency vector and one-sided flat-shaped PSD
    M = N//2 + 1 # number of data points of frequency vector
    freq = np.arange(0, M, 1) * fs / N # frequency vector
    freq_lower = 50 # PSD lower frequency limit  [Hz]
    freq_upper = 100 # PSD upper frequency limit [Hz]
    PSD = sd.excitation.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD

    #get gaussian stationary signal
    gausian_signal = sd.excitation.random_gaussian((N, PSD, fs))

    #get non-gaussian non-stationary signal, with kurtosis k_u=10
    #amplitude modulation, modulating signal defined by PSD
    PSD_modulating = sd.excitation.get_psd(freq, freq_lower=1, freq_upper=10)
    #define array of parameters delta_m and p
    delta_m_list = np.arange(.1,2.1,.5)
    p_list = np.arange(.1,2.1,.5)
    #get signal
    nongaussian_nonstationary_signal = sd.excitation.nonstationary_signal(N,PSD,fs,k_u=5,modulating_signal=('PSD', PSD_modulating),param1_list=p_list,param2_list=delta_m_list)


.. _documentation: https://sdypy-excitation.readthedocs.io/en/latest/

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sdypy-excitation",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "\"Janko Slavi\u010d et al.\" <janko.slavic@fs.uni-lj.si>",
    "keywords": "excitation signals,structural dynamics,vibration fatigue",
    "author": "",
    "author_email": "\"Janko Slavi\u010d et al.\" <janko.slavic@fs.uni-lj.si>",
    "download_url": "https://files.pythonhosted.org/packages/54/40/d4e58103bcda36f3d5c8b7ca4b76dbd345fa97adf1c17a5a404a1873171b/sdypy_excitation-0.1.0.tar.gz",
    "platform": null,
    "description": "sdypy-excitation\n================\n\nFrequency response function as used in structural dynamics.\n-----------------------------------------------------------\n\nThe ``sdypy-excitation`` is a namespace project of the ``sdypy`` framework and is a direct link\nto the ``pyExSi`` package (developed at `pyFRF <https://github.com/ladisk/pyExSi>`_).\n\nUse the ``sdypy`` package to conveniently access the functionality of the\n`pyFRF <https://github.com/ladisk/pyExSi>`_ package through its namespace (see example below). \n\nOther functionalities of the ``sdypy`` framework include:\n\n- `sdypy-EMA <https://github.com/sdypy/sdypy-EMA>`_: Experimental Modal Analysis\n- `sdypy-io <https://github.com/sdypy/sdypy-io>`_: Input/Output operations (LVM files, UFF files)\n- `sdypy-FRF <https://github.com/sdypy/sdypy-FRF>`_: Frequency Response Function estimation\n\n\nFor more information check out the showcase examples and see documentation_.\n\nBasic ``sdypy-excitation`` usage:\n---------------------------------\n\nImport the module:\n~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n    import numpy as np\n\n    # import the sdypy module\n    import sdypy as sd\n\n    N = 2**16 # number of data points of time signal\n    fs = 1024 # sampling frequency [Hz]\n    t = np.arange(0,N)/fs # time vector\n\n    # define frequency vector and one-sided flat-shaped PSD\n    M = N//2 + 1 # number of data points of frequency vector\n    freq = np.arange(0, M, 1) * fs / N # frequency vector\n    freq_lower = 50 # PSD lower frequency limit  [Hz]\n    freq_upper = 100 # PSD upper frequency limit [Hz]\n    PSD = sd.excitation.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD\n\n    #get gaussian stationary signal\n    gausian_signal = sd.excitation.random_gaussian((N, PSD, fs))\n\n    #get non-gaussian non-stationary signal, with kurtosis k_u=10\n    #amplitude modulation, modulating signal defined by PSD\n    PSD_modulating = sd.excitation.get_psd(freq, freq_lower=1, freq_upper=10)\n    #define array of parameters delta_m and p\n    delta_m_list = np.arange(.1,2.1,.5)\n    p_list = np.arange(.1,2.1,.5)\n    #get signal\n    nongaussian_nonstationary_signal = sd.excitation.nonstationary_signal(N,PSD,fs,k_u=5,modulating_signal=('PSD', PSD_modulating),param1_list=p_list,param2_list=delta_m_list)\n\n\n.. _documentation: https://sdypy-excitation.readthedocs.io/en/latest/\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Excitation signals as used in structural dynamics and vibration fatigue.",
    "version": "0.1.0",
    "project_urls": {
        "documentation": "https://pyexsi.readthedocs.io/en/latest/index.html",
        "homepage": "https://github.com/sdypy/sdypy-excitation",
        "source": "https://github.com/sdypy/sdypy-excitation"
    },
    "split_keywords": [
        "excitation signals",
        "structural dynamics",
        "vibration fatigue"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d8188de30d802be0e0551f4059958621af61e302dce1891c2a415c09d84935e0",
                "md5": "62a8470434014719a6f2557859f71d34",
                "sha256": "9061f5240918aa63263cda7424293321bf1b7bac5be428c312c56d5105ec58ce"
            },
            "downloads": -1,
            "filename": "sdypy_excitation-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "62a8470434014719a6f2557859f71d34",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3291,
            "upload_time": "2024-02-23T09:17:07",
            "upload_time_iso_8601": "2024-02-23T09:17:07.743651Z",
            "url": "https://files.pythonhosted.org/packages/d8/18/8de30d802be0e0551f4059958621af61e302dce1891c2a415c09d84935e0/sdypy_excitation-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5440d4e58103bcda36f3d5c8b7ca4b76dbd345fa97adf1c17a5a404a1873171b",
                "md5": "61d7efea32588465b21fc2a2587cfa10",
                "sha256": "640aa2cd51aee5e6ea18d998e4342275008229f702ae2cd74ff7b6b3c06cc03b"
            },
            "downloads": -1,
            "filename": "sdypy_excitation-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "61d7efea32588465b21fc2a2587cfa10",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 7413,
            "upload_time": "2024-02-23T09:17:10",
            "upload_time_iso_8601": "2024-02-23T09:17:10.477580Z",
            "url": "https://files.pythonhosted.org/packages/54/40/d4e58103bcda36f3d5c8b7ca4b76dbd345fa97adf1c17a5a404a1873171b/sdypy_excitation-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-23 09:17:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sdypy",
    "github_project": "sdypy-excitation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pyExSi",
            "specs": []
        }
    ],
    "lcname": "sdypy-excitation"
}
        
Elapsed time: 0.19304s