FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

Extraction frequency and amplitude from FFT

Page d'accueil ' Communauté ' Généralités ' Extraction de la fréquence et de l'amplitude à partir de la FFT

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #34585
    Damian Pietrusiak
    Participant

    My aim is to find the amplitude and frequency of the 3 highest maxima from FFT in defined frequency range.
    I tried Maximum function but as a result I got only amplitude without frequency.
    I am looking for tool which give me both components (frequency and amplitude).
    I need that to write those information to some table/txt or similar.

    Thank you in advance for any hints !!!

    #34587
    Damian Pietrusiak
    Participant

    My aim is to find the amplitude and frequency of the 3 highest maxima from FFT in defined frequency range.
    I tried Maximum function but as a result I got only amplitude without frequency.
    I am looking for tool which give me both components (frequency and amplitude).
    I need that to write those information to some table/txt or similar.

    Thank you in advance for any hints !!!

    #34586
    Bernhard Kantz
    Participant

    When you have your spectrum given as a signal (a FlexPro object with frequency as x component) you can use the FPScript function Extrema() to locate the local maximas, sort them in descending order and output the first three elements:

    [code]
    Dim data = ChannelSpektrum
    Dim hyst = 0.05 * Range(data)
    Dim ind = Extrema(data, hyst, EVENT_POSITIVE)
    Dim ext = data[ind]
    Sort(ext, SORT_Y+SORT_DESCENDING)[0,2]
    [/code]

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.