The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Automizing FFT in Origin 5.0

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
a_user Posted - 08/18/1998 : 1:39:00 PM
I like to know, how I can automate the following process.
Because I am not able to program any script in Lab-Talk, I don't
know, how difficult it is to write the following automation.

Data:
I have several Datasheets of the following structure:
Column 1 = Time (0.001 - 2.000 ms)
Column 2 to 5 = Acceleration signals
Column 6 to 14 = EMG-Signals of different muscles
All columns have a length of 2000 rows.

Analysis:
For the analysis of the muscular power I need the mean power
frequency (MPF) of all the EMG signals. Therefore a FFT of the
muscle-signals with a window of 50 values is quiet useful.

In addition of the MPF over the rows 250 to 1250 I need the
MPF of the sections from row 250 to 500 and from row 501 to 1250.
I only need the real values, not the imaginary ones. It would be
of great help, if the output data is a worksheet with the
8 columns like the muscles EMG signals in the original datasheet.

Finally I need the mean and the median values of the frequency
spectrum for each period of each muscle. They can be stored in a
separate column of the "frequency worksheet".

It would be of great help, if anyone could give me assistance in
writing such a script or tell me, if there are any build-in functions
to record the manual steps (like a macrorecording in Excel).

Thank you in advance for your help.

Lars Janshen

2   L A T E S T    R E P L I E S    (Newest First)
a_user Posted - 08/18/1998 : 1:54:00 PM
Labtalk FFT

Sorry I made a mistake:
I take col(Time) as Data1_A and col(Signal$(i)) as Data1_B
and make a loop around all Signal$(i)'s I want to have transformed.
As fft.forward.tdelta I take a given Variable and not the difference
between Data1_A[1] and Data1_A[2].
Except that everything in the script looks identical.
Where is my problem?
Thanks in advance
Eberhard

a_user Posted - 08/18/1998 : 1:53:00 PM
Labtalk FFT

This Labtalk script for an FFT doesn't work for me.
I take col(Time) as Data1_A[1] and col(Signal$(i)) as Data1A_[2]
and make a loop around all Signal$(i)'s I want to have transformed.
As fft.forward.tdelta I take a given Variable and not the difference
between Data1_A[1] and Data1_A[2].
Except that everything in the script looks identical.
Where is my problem?
Thanks in advance
Eberhard


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000