View Single Post
  #30 (permalink)  
Old 03-15-2010, 05:25 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,913
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by klaus View Post
the amplitude because in frequency analysis that's what the user is the most intersted in, the phase is not that impotant.
I kept the conversion as individual ones for that reason so as to keep things quick.
Quote:
I was thinking about getting Amplitude and Phase directly in return from Fft.Transform ... This would avoid needing to calculate it afterwords.
It needs to be calculated separately anyway as the algorithm produces Sine and Cosine. As the overhead of doing them in the Basic4ppc code rather than automatically in the library is very small, only that of a single call to the library and as only Amplitude is interesting a lot of the time I didn't incoporate it into the actual Transform. Also having Real and Imaginary available lets you see what is going on if you need to.
Quote:
I have seen that Fft, the name of the FFT object, is highlighted in green in the IDE
I've no idea why the IDE thinks that FFT is a keyword, it doesn't highlight other library objects, although I have suggested to Erel that it should but he wasn't keen on the idea.

Here's the next version of the library with the five methods above added.
Attached Files
File Type: zip FFT1.1.zip (4.6 KB, 5 views)
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote