Created
July 31, 2018 17:49
-
-
Save luigifcruz/5943718137f1e701810204fe5ed9ab66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import seaborn as sns | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
sns.set() | |
sps = 3.75e6 | |
samples_per_us = sps*1e-6 | |
max_range_us = samples_num/samples_per_us | |
max_range_m = (max_range_us*299792458*1e-6)/2 | |
linear = np.linspace(0, max_range_us, samples_num) | |
linear = np.floor(linear) | |
df = pd.DataFrame(plot, columns=linear) | |
ax = sns.heatmap(df, cmap='viridis') | |
plt.title('Pulse Radar Bursts - Passive Monitoring w/ LimeSDR') | |
plt.ylabel('Bursts') | |
plt.xlabel('Microseconds') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment