Skip to content

Instantly share code, notes, and snippets.

@luigifcruz
Created July 31, 2018 17:49
Show Gist options
  • Save luigifcruz/5943718137f1e701810204fe5ed9ab66 to your computer and use it in GitHub Desktop.
Save luigifcruz/5943718137f1e701810204fe5ed9ab66 to your computer and use it in GitHub Desktop.
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