Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about 'PCA_STFT_visualize.ipynb' #44

Open
thinszx opened this issue Apr 3, 2022 · 0 comments
Open

question about 'PCA_STFT_visualize.ipynb' #44

thinszx opened this issue Apr 3, 2022 · 0 comments

Comments

@thinszx
Copy link

thinszx commented Apr 3, 2022

Hi, thank you for sharing the code. I'm trying to implement CARM and your code helps a lot.

I'm a little bit confused about the data processing codes in PCA_STFT_visualize.ipynb. Does the data processing method in this script totally equal to the method in CARM paper? np.convolve is used to calculate the constant offset in the script , while the paper says it is calculated by average CSI amplitude for 4 seconds, so I think it refers to simply averaging the amplitude for 4 sec? Besides the H matrix in the paper is built by chunks obtained in 1-second interval which are cut from CSI streams, while the script used another np.convolve whose window_size is 0.1s to build this matrix (or maybe just to smooth the signal, I'm not sure). Could you help explain why these np.convolve are used? Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant