Skip to content
Snippets Groups Projects
Commit b4b9c6c7 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add plt.subplot example.

parent 090e35b0
Branches
No related tags found
No related merge requests found
Pipeline #42462 passed
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* Linux * Linux
* ICT diensten * ICT diensten
* Python * Python
* Numpy, matplotlib.pyplot
* Jupyter * Jupyter
* Graphana * Graphana
* Zenodo DOI * Zenodo DOI
...@@ -170,10 +171,19 @@ run_rbf unb2b lofar2_unb2b_sdp_station_full_wg ...@@ -170,10 +171,19 @@ run_rbf unb2b lofar2_unb2b_sdp_station_full_wg
******************************************************************************* *******************************************************************************
* scp from regtest * scp from regtest
******************************************************************************* *******************************************************************************
mkdir hdl_build_results/20230108
scp -rp regtest@dop349:/home/regtest/quartus_build_images_cron.log hdl_build_results/20230108/
scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/lofar2_unb2c_sdp_station_full hdl_build_results/20230108/
scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2b/quartus/lofar2_unb2b_sdp_station_full_wg hdl_build_results/20230108/
scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/disturb2_unb2b_sdp_station_full hdl_build_results/20230108/
scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/disturb2_unb2b_sdp_station_full_wg hdl_build_results/20230108/
scp -rp regtest@dop349:/home/regtest/quartus_build_images_cron.log 20221218/ du -h -d 2
scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/lofar2_unb2c_sdp_station_full 20221218/ df -h /home
Synthesis neemt onegeveer 4GB voor Disturb image en 3GB voor SDP image, dus
ongeveer 14GB / weekend. De regtest machine heeft nog 500GB vrij, dus we
kunnen nog ongeveer 35x opslaan, voordat we moeten deleten.
******************************************************************************* *******************************************************************************
* Flash and reboot unb2 * Flash and reboot unb2
...@@ -1108,6 +1118,27 @@ numpy tutorial: ...@@ -1108,6 +1118,27 @@ numpy tutorial:
https://lwn.net/SubscriberLink/847039/3016fa7278000b77/ https://lwn.net/SubscriberLink/847039/3016fa7278000b77/
*******************************************************************************
* Numpy, matplotlib.pyplot
*******************************************************************************
a = 20
plt.figure(figsize=(16, 6))
plt.subplot(1, 2, 1)
plt.plot(si_ampls[0:a], si_SSTs_dB[0:a])
plt.title(f"SST as function of input sine amplitude [0:{a}>")
plt.xlabel("si_ampl, ni_sigma [q]")
plt.ylabel("SST [dB]")
plt.grid()
plt.subplot(1, 2, 2)
plt.plot(si_ampls[a:], si_SSTs_dB[a:])
plt.title(f"SST as function of input sine amplitude [{a}:{FS}>")
plt.xlabel("si_ampl, ni_sigma [q]")
plt.ylabel("SST [dB]")
plt.grid()
******************************************************************************* *******************************************************************************
* Jupyter * Jupyter
******************************************************************************* *******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment