LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example code using Cohen.VI from SPT 7.0

I'm looking for any example code out there that uses the Cohen.VI from SPT 7.0. In particular I am trying to figure out how to correctly configure the "Window" parameter since the documentation does not indicate specifically how to do so.
0 Kudos
Message 1 of 7
(3,332 Views)
You can play with the JTFA application in the start up kit of SPT 7. You can try different settings with different data, such as the sound of a bat.

If you can describe what exactly you want to configure, or attach some example, I may be able to help.
0 Kudos
Message 2 of 7
(3,332 Views)
PS, You can find 2 books of Shie Qian on Joint Time Frequency Analysis on Amazon. The latest one is the greatest one. You should be able to find out all details of the algorithms.
0 Kudos
Message 3 of 7
(3,332 Views)
I know those books and have used the JTFA toolkit extensively since v5.0 in several deployed applications that I have programmed. The issue is that the cohen.vi is a brand new sub in the v7.0 distribution and there is NO example using it, NO specific documentation, beyond the usual pithy reiteration of the obvious like "the Window parameter allows you to specify the Window"....

So I'm wondering if anyone out there has actually deployed this particular sub-vi or not and, if they have, if they have any example code a la the refnum examplex included with the distribution itself.
0 Kudos
Message 4 of 7
(3,332 Views)
I am not terribly familar with Cohen.vi, but I could not find a terminal called Window. Is this the exact name?
0 Kudos
Message 5 of 7
(3,332 Views)
Cohen is a general function, which adds a 2D filter (kernel) after WVD to filter out the coherent. Choi-Williams and Cone Shape are 2 special case of Cohen. Choi-Williams uses exponential filter while Cone Shape uses exponential and cone shape in 2 axis separately. You can use any complex filter in the Kernel, but you need to follow the spec as the help file says.

In SPT 6, most functions are in G, so maybe you can see Cohen in the function of Choi-Williams and Cone Shape there. In SPT 7, NI implemented most functions in dll, and fastened the speed by factor 10x for big data set. It seams that the example of Cohen was ignored, given the resource and project scope.

Shie Qian, the father of NI-JTFA, just told me that function is well
explained in his book.

Sorry for such a late reply.
0 Kudos
Message 6 of 7
(3,332 Views)
Yes, I understand the general use of Cohen, the issue is not having a specific example and this is especially an issue, at least for me, given the changes in the SPT with the release of v7.0...

Is it possible that Shie Qian could put together an example that was based on the CWD and CSD examples that already are included in the released version of SPT v7.0 -- I would think that it would be a great help and not much time involvement.
0 Kudos
Message 7 of 7
(3,332 Views)