Calculating FFT using the FFTAverageType variable in DIadem

Hi,
I have some doubts about how should I use the averagingType variable. I want to define this variable as "Arithmetic" and get the combined FFT of two trials of the same process, i.e I have two signals which represent the same process.
What I do is just calculate the FFT of each signal separately. Then I calculate the amplitude of each FFT signal and finally i combine these two signals by doing the mean for each amplitude. I.E if i have signal1FFT = (1 , 2 ......23 ) and signal2FFT = (2,4, ...43 ) the resulting signal should be ( 3/2 , 6/2 ...... 66/2 )
Am I correct about what this averaging type variable does? When i try to do the same in other mathematic programs I get different results but I don't know exactly what I am doing wrong,
Thank you so much for the help!

There are several ways to approach averaging in the FFT environment.
FFTAverageType is should be "Arithmetic" which means that all FFTs are weighted equal.
The Exponential averaging is kind of a running average for special calculations which are typically done during a running measurement.
Much more important is the parameter in "Calculate average from:" (Amplitude or Autospectrum)
Amplitude is giving a linear result and Autospectrum is giving the result based on squared values. The squared result is the correct result from an energetic point of view.
Example:
If you have a sine with a peak of 2 for one second and a peak of 4 for another second, you might want to get and averaged peak of 3.This might be wrong.
The RMS value of a sine with a peak of 3 would be 2.121.
The RMS which is representing the energy in a signal is the root of the average of the squared values. The RMS of a signal with half the time 2 and half the time 4 is 2.236. This means, that a sine with the peak of 3.162 for two seconds has the same RMS as the signal with a peak of 2 and 4 for one second each.
If you average FFTs in DIAdem you need to decide between the linear average (based on the peak Amplitude) and the energetic correct squared average (based on the Autospectrum). Right or wrong depends on your circumstances.
Usually, other mathematic programs are giving you the choice to decide or they might just use one or the other method.

Similar Messages

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

  • [svn] 4267: Change path to Assets.swf in eclipse . project file from full hardcoded path to use the FLEX_SDK variable as the base path .

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

    Revision: 4267
    Author: [email protected]
    Date: 2008-12-09 10:32:36 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Change path to Assets.swf in eclipse .project file from full hardcoded path to use the FLEX_SDK variable as the base path. There is still an issue with Assets.swf not getting referenced correctly. If you import the framework project from Blazeds/trunk into Eclipse and get an error related to Assets.swf or that says "Unable to export SWC oem" for the time being try right clicking on the framwork project in Eclipse and selecting properties. Then in the properties panel, select Flex Library Build Path and then the Assets tab. On the Assets tab, check the check box next to Assets.swf and click Ok. This usually fixes the reference for me.
    Modified Paths:
    blazeds/trunk/development/eclipse/projects/flex/3.0/framework/.project

  • Using the system variable cpInfoQuizAttempts

    My content is run through an LMS. I am trying to used advanced code using the system variable cpInfoQuizAttempts so that a caption appears when the variable value = 3. Apparently, I can't utilize the value of this variable; in fact, I can't even display it's value in a caption. I am trying to create advanced code on a course page that displays a caption like "You canot take this quiz again because you have already taken it the maximum number of time possible." once someone has taken the course the maximum number of times.  I assume this is the variable Captivate is using to show # attempts on the results page. I tried this with just a user variable but the value of the user variable is not stored or saved on the LMS. Therefore, if you have a maximum number of 3 attempts and someone takes the quiz twice, if he logs off and logs back on, the previous value (2) is not saved and the value reverts to the default (0).
    Any ideas how this could be done?
    KO

    I'm pretty sure that all user defined variables are saved in suspend_data in the LMS. Therefore your user defined variable should be there, but I don't see any way how Captivate would be able to retrieve it again out of the box.
    I think that the cpInfoQuizAttempts variable refers to attempts done in the same "session". So if fail the test and then retry and fail it would have a count of 2. However, once the user exists the course the variable is no longer available to Captivate.
    As Rick said most LMS' have a function to define max / min attempts of a quiz. However, this most likely requires that you publish the quiz as an independant SCO since the "lockout" would apply for that SCO. Basically if you only have one SCO then your users wouldn't be able to access the content or the quiz if they exceded the max attempts. Your content should therefore be one (or more) SCO(s) and your quiz one separate SCO.
    If I'm not mistaken it's also possible to define the max / min attempts in the SCORM manifest, but this is very geeky.
    If you own and can use Flash you could solve your problem two ways:
    1. Create a Flash file that retrieves the user defined variable from the LMS suspend_data and then sends that back into Captivate. Import the Flash file into your Captivate project.
    2. Create a Flash file that stores and retrieves the attempts in a Shared Object on the users PC and then brings the stored value back into Captivate. Import the Flash file into your Captivate project.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • To use the form variables in a workflow

    How can we use the form variables in the workflow..How will we refer the variables?Simply referring by name not working.

    hi,
    you can use the form variable by define the field name like this in ur form:-
    <Field name=':variables.fieldVariableName'>
    <Display class='Label'>
    <Property name='title' value='XYZ'/>
    </Display>
    </Field>
    and u can access this variabe simply
    <ref>fieldVariableName<ref>
    in ur workflow.
    thanx
    shant

  • How use the same variable in read and write way?

    I don't know how to use the same variable in a .vi like an indicator and a
    control at the same time.
    Can someone help me?
    Thnks.

    Thanks!!!
    I'll try.
    "Adam Russell" escribió en el mensaje
    news:bkavdl$rd021$[email protected]..
    > Create local variables from the control (or indicator) and you can make
    > each local either read or write. Be careful of race conditions.
    >
    > "Urban" wrote in message
    > news:bkam3b$c4k$[email protected]..
    > > I don't know how to use the same variable in a .vi like an indicator and
    a
    > > control at the same time.
    > > Can someone help me?
    > >
    > > Thnks.
    > >
    > >
    >
    >

  • How to use the same variable value for data entry and the planning sequence

    Hi,
    the scenario is the following:
    Using the WAD template a user enters cost center plan data. The cost center is selected by the chosen value for the variable "V1".
    Afterwards he shall push a button which starts a planning sequence (including saving the data and further functions). This planning sequence uses a filter that also contains the variable "V1".
    What or where has it to be defined that the planning sequence uses automatically the same value for the variable "V1" as selected for the data entry?

    You have to define in the planning function. The planning sequence is only a sequence and it read the planning functions underneath it.
    Ravi Thothadri

  • How to SIMPLY use the %DIMENSION_TO_SET% variables into logic scripts

    hello,
    I'm using a prompt of type "COPYMOVE" or "COPYMOVEINPUT". In this type of prompt, there are 2 columns of dimension members list, one for defining the "source zone" and one for defining the "target zone" of logics.
    The left colum of the prompt (for source zone) feeds the variables %DIMENSION_SET% : %ACCOUNT_SET%, %ENTITY_SET%, %CATEGORY_SET%, etc...and these variables can be used in the logic scripts in *XDIM_MEMBERSET instructions for example.
    The right colum of the prompt feeds the variables %DIMENSION_TO_SET% : %ACCOUNT_TO_SET%, %ENTITY_TO_SET%, %CATEGORY_TO_SET%, etc...and I don't know how to SIMPLY use these variables in the logic scripts.
    I've found a tricky way to do that but I meet 2 problems :
    - it is complicated
    - the multi-info instruction (BEGININFO/ENDINFO) seems to be bugged as blank lines are added all the time in the code and sometimes I have to wait for minutes when I try to modifiy the package code through BPC for excel eData/modify package menu.
    So the question is how to SIMPLY get the %DIMENSION_TO_SET% variables into logic scripts and use them ? Thanks, R.
    Here is the tricky package code I use at this time (I build one function for each %DIMENSION_TO_SET% variable and I pass these functions to the logic) :
    PROMPT(COPYMOVE,,,,"ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,USER,WS-WW\PlauchuR)
    TASK(Execute formulas,APPSET,US)
    TASK(Execute formulas,APP,SV)
    TASK(Execute formulas,SELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\FROM_1561_.TMP)
    TASK(Execute formulas,TOSELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\TO_1561_.TMP)
    BEGININFO(%FSS%)
    *FUNCTION TARGETACCDETAIL=%ACCDETAIL_TO_SET%
    *FUNCTION TARGETACCOUNT=%ACCOUNT_TO_SET%
    *FUNCTION TARGETCATEGORY=%CATEGORY_TO_SET%
    *FUNCTION TARGETDATASRC=%DATASRC_TO_SET%
    *FUNCTION TARGETENTITY=%ENTITY_TO_SET%
    *FUNCTION TARGETTIME=%TIME_TO_SET%
    *FUNCTION TARGETYEARS=%YEARS_TO_SET%
    ENDINFO
    TASK(Execute formulas,FORMULASCRIPT,%FSS%)
    TASK(Execute formulas,LOGICFILE,D:\BPC\Data\WebFolders\US\SV
    ..\AdminApp\SV\_TEST.Lgf)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Edited by: ALEXANDRE BEDIER on Jun 16, 2010 3:15 PM

    hello,
    finally I've discovered that there is no need of BEGININFO instruction.
    One can pass several functions to a logic with one FORMULASCRIPT task. The functions definitions have to be separated by instructions. See below :
    PROMPT(COPYMOVEINPUT,%FTARGETS%,,"select source and target zone for category and datasource.","ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,FORMULASCRIPT,*FUNCTION TACCDETAIL=%ACCDETAIL_TO_SET% *FUNCTION TACCOUNT=%ACCOUNT_TO_SET% *FUNCTION TCATEGORY=%CATEGORY_TO_SET% *FUNCTION TDATASRC=%DATASRC_TO_SET% *FUNCTION TENTITY=%ENTITY_TO_SET% *FUNCTION TTIME=%TIME_TO_SET% *FUNCTION TYEARS=%YEARS_TO_SET%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\_TEST.LGF)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Then one will be able to use the functions TACCDETAIL, TCATEGORY, TACCOUNT,... in the logic script.
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:31 AM
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:33 AM

  • Using the env variable of unix in a procedure call

    hi,
    how can i use the environment varible of unix in a oracle procedure call ?
    I am working woth shell scripts and it hold some value into a variable and that varible value I want to pass into a oracle procedure.
    i'm sending the sample code and please let me know the solution for this as early as possible.
    actual_file_name=`head -1 temp | tail -1`
    $ORA_BIN_HOME/sqlplus $USER $PASSWD@$TNS
    exec procedure($actual_file_name);
    if i write like above it is not supporting and I tried in so many ways. but no use.
    pls help me.
    suresh.K

    See one possible solution using SQL*Plus command line:
    Re: accessing unix environment variable in oracle procedures

  • Multiple inputs from a user using the same variable !

    Hi Folks,
    I am trying out the following code block,which should ask the users to enter 3 different names using '&' operator & assign it to a variable v_ename every time the loop executes.
    declare
    type ename_table_type is table of
    emp.ename%type
    index by binary_integer
    ename_table ename_table_type
    begin
    for i in 1..3 loop
    ename_table( i ):= '&v_ename';
    dbms_output.put_line(ename_table(i));
    end loop;
    end
    The above code accepts a single input from the user & assigns the same input 3 times to "ename_table".thus the output shows the same name 3 times.
    Is it possible that we can have the user input 3 different names & then print them using the concept of Index by binary_integer ?
    Please help
    Thanks
    Om

    Server side PL/SQL is NOT designed for this kind of user interaction.
    the "&" character is intrepreted by the SQL*Plus application and before the PL/SQL block is submitted to the DB by the SQL*Plus application, it replaces each appearance of the &variable with the value entered. Once the block gets to the database, all it sees is a constant value - no more a variable name.
    &variable_name is a SQL*Plus application thing, not the database.
    Where will this type of logic will be eventually used? What client application will interact with the server side PL/SQL? You need to code this input logic in that client application.

  • Replacement path using the text variables.

    Hi all,
    I need to create the text variables of processing type replacement path. can any one help me by sending the step by step procedure for the same.
    Thanks & Regards
    KK

    Hi KK,
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    The example is applicable for Dates in the same way you can create for Text also.
    Regards,
    R.Ravi.

  • Opportunity Revenue Calculation by using the Opportunity Product revenue

    Hello All,
    I created one cusotom field on the opportunity, in that i want to populated the value as the result of Opportunity Revenue/#period( it is sum of all the opportunitied from the Opportunity Product detail page). Now what my question is how to get the Period value from the Opportunity Product Revenue page. Could you please suggest on this.
    Thanks & regards
    Subbu

    timestampdiff() is a analytics function, not a expression builder function. They are two different sets of functions and can not be mix matched.
    for number of period, you could use:
    JulianMonth ( end date) - JulianMonth ( start date)
    The relationship of product revenue and oppty is M:1. how are you going to roll up many different number of period in oppty reocord, even with Web services? Therefore, if the start and end date are on product revenue, this average should be on Product Revenue and you are looking at average revenue for each product; if the start and end date are on Opporty, it should be on Opporty and it's average revenue for the opporty .
    Cheers!
    Shilei

  • I can not use the Global Variable in the subvi which be called dynamic

    Hi,everybody,
    i have a problem.
    i called dynamic a subvi (subvi.vi) in the MainVI(main.vi),and putted it in the subpanel in the main.vi .the subvi should show the string (success!),but it not
    why? Help me
    WinXP LavVIEW8.0
    Using LabVIEW 8.0.0 on Windows XP
    附件:
    MyTest.zip ‏16 KB
    MainVI.JPG ‏41 KB
    subvi.JPG ‏13 KB

    subpanel中的VI要运行才可以。

  • How do I use an array variable in the assignment target?

    Hi,
    I am creating a BPEL process in which I have to use an array variable. The array variable needs to be initialized based on some condition.
    The issue is I cannot find a way to set the value of the array variable. There are ways to GET the value of an array variable indexing into it.
    But how do I set the value by using the Array variable in the <to> tag?
    Any help is appreciated. I am using BPEL 10.1.2.0.2.
    Thanks.

    You can declare a variable of type integer which will server as your index. Figure out based on some condition in your process which index of array to update. Assign to your integer variable you created.
    And have Assign copy operation like this -
    <copy>
    <from variable="Var_Output_FetchDueDate"
    part="OutputParameters"
    query="/ns18:OutputParameters/ns18:DUEDATE"/>
    <to variable="outputVariable" part="payload"
    query="/client:GetCustomerAccountInformationProcessResponse/client:customer/client:accounts/client:account[$Var_Counter]/client:dueDate"/>
    </copy>
    I have been using this in my processes.

  • To use two presentation variables based on the period selection in OBIEE

    Dear All,
    I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
    For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
    How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
    Your help is highly appreciated.
    Best Regards,
    Rajesh

    Hi Rajesh,
    Create a report A which will give you the period start date and end date and filter it using the period prompt.
    Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
    Add the report A in separate section on the dashboard along with main report and hide report A section.
    Thanks,
    Vino

Maybe you are looking for

  • TS3899 how to reset icloud account

    I have put in wrong email address that doesnt exist how can i reset my icloud account

  • How to send message to Queue using JMS

    Hai Friends, I have written one program, which sends one seriablizable object to the queue. At queuesender.send(objectmessage) statement i am getting the following exception, but message is going to queue. The next statement is not executing. Next st

  • Weird characters in site ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ

    I have made and uploaded my site in iweb 08. But when I upload it to the university's server, these weird charcters show up in some places: ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ I don't see anything like this in iweb though. Could someone please

  • RunInstall looks into wrong path

    Hi guys I don't know what else to delete... how come running runInstall see another home(fedora 12 x64) [oracle@laptop database]$ ./runInstaller You do not have sufficient permissions to access the inventory '/home/florin/oraInventory'. Installation

  • TES v6.1 want to install a Win Tidal Agent on a Cluster Resource with Fail Over... help

    I am working with my Window Admins and they want to know how to install the Win Tidal Agent on a Cluster Resource with Fail Over.  Currently running Tidal Master (UNIX) v6.1.0.483 Thanks, Rich