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
 FFT Bandblock Filter for not equidistant x-axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Poffel1985

Germany
17 Posts

Posted - 10/21/2015 :  09:24:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, i'm using Origin 2015.
I want to use a FFT bandblock filter for my data.
At the moment I use the following script:
fft_filters -r 2 filter:=bandblock freq1:=val1 freq2:=val2;
Unfortunately my x-axis is nonlinear/not equidistant. Therefore, the result is not correct. I don't want to interpolate my data before filtering. Is there an easy option to do a nonlinear FFT/NFFT using a labtalk script? (I'm using Labview and execute labtalk commands)

I also looked at:
http://www.originlab.com/doc/OriginC/ref/fft_real
However, I was not able to test this (command errors).

best regards

Shirley_GZ

China
Posts

Posted - 10/22/2015 :  03:15:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

For your case, you need first do interpolation to make the X values be uniformly-spaced, although you said you don't want to interpolate your data.
Since you are using LabVIEW, you can use the X-Function below to write and run LabTalk script to interpolate your data and perform FFT Filtering:

http://www.originlab.com/doc/X-Function/ref/interp1xy

Thanks,
Shirley

Originlab Technical Service Team

Edited by - Shirley_GZ on 10/22/2015 03:22:19 AM
Go to Top of Page

Poffel1985

Germany
17 Posts

Posted - 10/22/2015 :  08:19:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Ok, thank you. I will try this way
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