Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library
- Cross Power Spectral Density

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-01-2017
10:16 AM

103 Views

Cross Power Spectral Density

Has anyone seen a code for the Cross Power Spectral Density Function -- it exists in MATLAB, but I would rather not use MATLAB for obvious reasons.

John

Link Copied

10 Replies

Zhen_Z_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-01-2017
08:17 PM

103 Views

Hi John,

I am afraid there's no direct function call for Cross Power Spectral Density, however its actually the Fourier transform of cross-correlation. Intel IPP provides both cross-correlation & FFT function, you could use "CrossCorrNorm" + FFTFwd.

Best regards,

Fiona

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-02-2017
12:31 AM

103 Views

Thank you --- that is simple.

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-02-2017
09:01 AM

103 Views

So as I read the literature I cannot call IPP from Fortran

I have to use C++

John

Zhen_Z_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-03-2017
02:54 AM

103 Views

Hi Nichols,

MKL also provides interface for convolution/correlation, although we do not provide a direct call for cross-correlation, however you probably could derive formula to use convolution. You could refer vslConvExec and MKL FFT functions. Thanks.

Best regards,

Fiona

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-03-2017
03:14 AM

103 Views

Dear Fiona:

Thanks. That is not hard.

Thanks.

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-04-2017
06:23 AM

103 Views

Dear Fiona:

So I installed the IPP from 2017. I thought it was included in the Parallel Studio but it is not that I could see.

I ran the ippvars and set the VC++ directories in a VS 2017 C++ shell program. The sample is attached.

When I in it -- I get the following compile errors - I am a bit lost at this stage. This is the standard sample program on your IPP website

thanks

John

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-04-2017
08:38 AM

103 Views

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-05-2017
05:41 AM

103 Views

https://software.intel.com/en-us/node/503902

Is one example of the IPP sample code, but you have another on your website does not point to the linker options it repoints to the vcc++ directory requirments -- it had me fooled for several hours

I cannot find it again - tha above one is correct -- but the other is not

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-05-2017
06:29 AM

103 Views

I have it all almost compiling, but INTEL documentation uses a function print_32f that is not documented. I realize it is easy to fix, but you have it all through the pdf files,, a sample would save 20 minutes of heartache.

Ta

john

JohnNichols

Valued Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-05-2017
08:11 AM

103 Views

); } printf("\n"); return 0; }

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.