<commit_before># Realtime-processing-for-csitool
A realtime data processing and visualization plugin for the [Linux 802.11n CSI Tool](https://github.com/dhalperi/linux-80211n-csitool).

# Usage
To use this code, you will need all the files from https://github.com/dhalperi/linux-80211n-csitool-supplementary.

1. In netlink:
~~~
gcc log_to_server.c -o log_to_server
sudo ./log_to_server <ip> <port>
~~~
<font color=red>
Tips: If you don't have the iwl_connector.h file in netlink (which means you are using an early verison of the [Linux 802.11n CSI Tool](https://github.com/dhalperi/linux-80211n-csitool), please try our [old version](https://github.com/lubingxian/Realtime-processing-for-csitool/tree/master/netlink/old%20version) code.</font>

2. In matlab:
run read_bf_socket.m

Tips for Matlab version > R2014a: 
We use EraseMode to increase the rendering speed. However, starting in R2014b, the EraseMode property has been removed from all graphics objects. https://mathworks.com/help/matlab/graphics_transition/how-do-i-replace-the-erasemode-property.html

# Screenshot
<img src="pic1.png" width = "60%" />

# Contact
Email: <EMAIL><commit_msg>Revert "Update README.md"<commit_after># Realtime-processing-for-csitool
A realtime data processing and visualization plugin for the [Linux 802.11n CSI Tool](https://github.com/dhalperi/linux-80211n-csitool).

# Usage
To use this code, you will need all the files from https://github.com/dhalperi/linux-80211n-csitool-supplementary.

1. In netlink:
~~~
gcc log_to_server.c -o log_to_server
sudo ./log_to_server <ip> <port>
~~~
Tips: If you are using an early verison of the [Linux 802.11n CSI Tool](https://github.com/dhalperi/linux-80211n-csitool) (or the log_to_server doesn't work), please try our old version code.

2. In matlab:
run read_bf_socket.m

Tips for Matlab version > R2014a: 
We use EraseMode to increase the rendering speed. However, starting in R2014b, the EraseMode property has been removed from all graphics objects. https://mathworks.com/help/matlab/graphics_transition/how-do-i-replace-the-erasemode-property.html

# Screenshot
<img src="pic1.png" width = "60%" />

# Contact
Email: <EMAIL>
{'fraction_non_alphanumeric': 0.11234396671289876, 'fraction_numerical': 0.036061026352288486, 'mean_word_length': 4.801608579088472, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '435171', 'n_tokens_mistral': 808, 'n_tokens_neox': 728, 'n_words': 218}