Ammar Kh Posted February 26 Share Posted February 26 (edited) Hi I am working on an application where I need to filter some white noise when reading analog data on the AD2 scope channels. In WaveFroms GUI there is the option to add a math (software based filter channel) with low pass filter. As I am using python for the test automation. is there an API function to apply such software based filter at the input I attach an image below for reference. I am looking after to get the filtered output in my test script. Thanks Edited February 26 by Ammar Kh add image Link to comment Share on other sites More sharing options...
0 attila Posted February 27 Share Posted February 27 Hi @Ammar Kh You could use SciPy Ammar Kh 1 Link to comment Share on other sites More sharing options...
0 Ammar Kh Posted February 27 Author Share Posted February 27 @attila Thanks. I will try with https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.butter.html One more question. if I am having the AD 3 / AD Pro instead. Can I simply use the FIIR filter functions from the SDK to set a low pass filter window ? I am referring to these functions in specific: FDwfAnalogInChannelFiirSet FDwfAnalogInChannelWindowSet Link to comment Share on other sites More sharing options...
0 attila Posted February 27 Share Posted February 27 Hi @Ammar Kh Yes, the filter channels are performed in the hardware. Note these are optimized for high frequency, the FIR has only 16 taps. Ammar Kh 1 Link to comment Share on other sites More sharing options...
Question
Ammar Kh
Hi
I am working on an application where I need to filter some white noise when reading analog data on the AD2 scope channels.
In WaveFroms GUI there is the option to add a math (software based filter channel) with low pass filter.
As I am using python for the test automation. is there an API function to apply such software based filter at the input
I attach an image below for reference. I am looking after to get the filtered output in my test script.
Thanks
Edited by Ammar Khadd image
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now