Calculation of Fourier coefficients using SAMBA methodology

In summary, the conversation discusses the use of the SAMBA method for calculating the reconstruction, mean, and standard deviation of data using a Karhunen-Loève decomposition. The engineer has successfully calculated these results and is now trying to understand how to calculate the Fourier coefficients. The scientist suggests reviewing the equations and seeking guidance from others to better understand the method.
  • #1
confused_engineer
39
2
TL;DR Summary
I am working with the SAMBA article. I have the random variables and the reconstructions. However, I don't know how to calculate the Fourier coefficients.
Hello everyone.

I have 4 samples of 50 elements from 4 unknown random variables obtained from a Karhunen-Loève decomposition using Matlab's pca (each one is a column of size 50 from the coefficient matrix). I am following the article SAMBA: Sparse Approximation of Moment-Based Arbitrary Polynomial Chaos.

I have managed to calculate the reconstruction of the original data, its mean and standard deviation as per equation 42. The 4 unknown random variables are the coeffs from Matlab.

To arrive to these results, I have built 4 matrices J (see eq 21) and obtained the corresponding eigenvalues (weights) and eigenvectors (nodes), I have obtained the moments of each coeff and go on from there. Since I am not using sparse grids, this leaves me with 24=16 combinations of nodes and their associated weights. The reconstruction of the original data using Matlab's scores multiplied by the value of these nodes leaves me with 16 reconstructions (each one is the sum of the score multiplied by the node, also, I am calculating 4 moments for each random variable). If I calculate the mean and std using the weights, I get results similar to the original data.

Unfortunately, I am lost trying to calculate the Fourier coefficients (or their approximation, α with a hat) between equations 28 and 30. I don't understand very well what are Y and ψ. I think that they might be the reconstruction measured at the same points that the original data is and the reconstruction generated using each random variable respectively. Can someone please tell me if this is the right idea?

I apologize if I am not making my post easy to understand, but I also don't understand very well what I am doing. Any help is appreciated. I will answer any asked question the best I can.

Best regards.
Confused engineer.
 
Physics news on Phys.org
  • #2


Hello Confused engineer,

Thank you for sharing your progress and questions with us. It sounds like you are on the right track with your calculations and are making good progress in understanding the SAMBA method. To answer your question about the Fourier coefficients, Y and ψ represent the original data and the reconstruction generated using each random variable, respectively. The Fourier coefficient, α, is a measure of the correlation between the original data and the reconstruction at a specific frequency or wavelength. It is calculated by taking the dot product of Y and ψ and dividing by the norm of ψ.

I would suggest reviewing the equations and definitions in the SAMBA article again, as well as consulting with a colleague or mentor who is familiar with the method. It can also be helpful to break down the equations and calculations step by step to better understand each component and its purpose.

I hope this helps clear up some confusion and I wish you the best of luck in your research. Don't hesitate to ask any further questions or provide updates on your progress. Science is all about collaboration and learning from each other. Keep up the good work!
Scientist
 

FAQ: Calculation of Fourier coefficients using SAMBA methodology

What is the SAMBA methodology used for in calculating Fourier coefficients?

The SAMBA (Spectral Analysis with Multiscale Basis Adaptation) methodology is a mathematical approach used to analyze and decompose signals into their frequency components. It is particularly useful for calculating Fourier coefficients, which represent the amplitudes and phases of each frequency component in a signal.

How does the SAMBA methodology differ from traditional methods of calculating Fourier coefficients?

The SAMBA methodology differs from traditional methods in that it uses a multiscale basis adaptation approach, which adaptively selects the basis functions that best represent the signal at different scales. This allows for a more accurate and efficient calculation of Fourier coefficients, especially for signals with complex or non-stationary characteristics.

What are the advantages of using the SAMBA methodology for calculating Fourier coefficients?

One of the main advantages of using the SAMBA methodology is its ability to accurately capture the frequency components of complex and non-stationary signals. It also offers a more efficient and automated approach compared to traditional methods, making it suitable for large datasets and real-time applications.

Are there any limitations to using the SAMBA methodology for calculating Fourier coefficients?

While the SAMBA methodology has many advantages, it also has some limitations. It may not be suitable for signals with very high frequencies or for signals that are highly localized in time and frequency. Additionally, the accuracy of the calculated Fourier coefficients may depend on the choice of basis functions and parameters used in the SAMBA algorithm.

How can the SAMBA methodology be applied in practical applications?

The SAMBA methodology has a wide range of applications in various fields, including signal processing, data analysis, and image processing. It can be used for tasks such as filtering, feature extraction, and pattern recognition. Additionally, it has been applied in areas such as medical imaging, weather forecasting, and financial analysis.

Back
Top