Forum FlexPro – Discuss your topic!

Issues with Time-frequency spectral analysis

Accueil > Community > General > Issues with Time-frequency spectral analysis

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12721
    Rien PolakRien Polak
    Member

    I`m using a time-frequency spectral analysis (in Flexpro 9)on .txt files containing 20 columns (first 2 being date and time) of data. On several of these files the analysis works fine. However when I try to use the time-frequency spectral analysis on several other files, the analysis object remains empty.

    As far as I can discover all the source files are identical the way they contain the data and are all created by the same programme. Does anyone know of an issue with the sourcedata that could cause the analysis not to work?

    Regards,

    #8384
    Rien PolakRien Polak
    Member

    I`m using a time-frequency spectral analysis (in Flexpro 9)on .txt files containing 20 columns (first 2 being date and time) of data. On several of these files the analysis works fine. However when I try to use the time-frequency spectral analysis on several other files, the analysis object remains empty.

    As far as I can discover all the source files are identical the way they contain the data and are all created by the same programme. Does anyone know of an issue with the sourcedata that could cause the analysis not to work?

    Regards,

    #9174
    Bernhard KantzBernhard Kantz
    Participant

    Select the analysis object, click the right mouse button and choose the command Open in the context menu. Run the FPScript formula (Ctrl+F5) and check the result / error message. Perhaps the input values are not equidistant.

    support@weisang.com

    #9176
    Rien PolakRien Polak
    Member

    The message states:
    The first argument of the function STFTSpectrum() does not meet the monotony requierements. The values of the x-component of signal must be equidistant with positive spacing.

    However the x-component (time) is added manually in the project database. Or is this referring to the time component in the data signal?

    #9175
    Rien PolakRien Polak
    Member

    Also on some datasets sometimes it will work sometimes it won`t. I`m not doing anything different at those times.

    #9177
    Bernhard KantzBernhard Kantz
    Participant

    At first you have to resample your x-values using the Signal Sampling analyis object or the Sample FPScript function. With equidistant x-values the STFT should work.

    support@weisang.com

    #9178
    Rien PolakRien Polak
    Member

    Everything is working now. Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.