.. role:: red .. role:: blue .. role:: navy ShortTimeFourierTransform ========================= :navy:`harmonic_indices` ~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **harmonic_indices** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | List of harmonics indices kept, if all use -1 | [0, 4, 8] | | | | | | **Type**: typing.Union[int, list[int], | | | | NoneType] | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`method` ~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **method** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Fourier transform method | fft | | | | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`min_num_stft_windows` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **min_num_stft_windows** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | How many FFT windows must be available for | 4 | | | the time series to valid for STFT. | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`per_window_detrend_type` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **per_window_detrend_type** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Additional detrending applied per window. | linear | | | Not available for standard scipy spectrogram | | | **Type**: | -- placholder for ARMA prewhitening. | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`pre_fft_detrend_type` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **pre_fft_detrend_type** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Pre FFT detrend method to be applied | linear | | | | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`prewhitening_type` ~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **prewhitening_type** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Prewhitening method to be applied | first | | | | difference | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`recoloring` ~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **recoloring** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Whether the data are recolored [True] or not | True | | | [False]. | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.num_samples` ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.num_samples** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Number of samples in a single window | 256 | | | | | | **Type**: | | | | | | | | **Units**: samples | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.overlap` ~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.overlap** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | Number of samples overlapped by adjacent | 32 | | | windows | | | **Type**: | | | | | | | | **Units**: samples | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.type` ~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.type** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | name of the window type | hamming | | | | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.clock_zero_type` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.clock_zero_type** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | how the clock-zero is specified | user specified | | | | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.clock_zero` ~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.clock_zero** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :blue:`False` | Start date and time of the first data window | 2020-02- | | | | 01T09:23:45.453| | **Type**: mt_metadata.common.mttime.MTime | | | 670+00:00 | | str | float | int | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.normalized` ~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.normalized** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :red:`True` | True if the window shall be normalized so the | False | | | sum of the coefficients is 1 | | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+ :navy:`window.additional_args` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: .. table:: :class: tight-table :widths: 45 45 15 +----------------------------------------------+-----------------------------------------------+----------------+ | **window.additional_args** | **Description** | **Example** | +==============================================+===============================================+================+ | **Required**: :blue:`False` | Additional arguments for the window function | {'param': | | | | 'value'} | | **Type**: | | | | | | | | **Units**: None | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------------------------+-----------------------------------------------+----------------+