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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Automizing FFT in Origin 5.0
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

a_user

USA
0 Posts

Posted - 08/18/1998 :  1:39:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

a_user

USA
0 Posts

Posted - 08/18/1998 :  1:53:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page

a_user

USA
0 Posts

Posted - 08/18/1998 :  1:54:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000