Skip to content

Instantly share code, notes, and snippets.

@aletelecom
Created July 31, 2022 17:54
Show Gist options
  • Save aletelecom/22375376ade4c1a1e1f583edaea7dcd4 to your computer and use it in GitHub Desktop.
Save aletelecom/22375376ade4c1a1e1f583edaea7dcd4 to your computer and use it in GitHub Desktop.
Viz 4 optical power dist
loc = -15
scale = 4
size = 1200
optical_power = norm.rvs(loc, scale, size, random_state=28)
plt.hist(np.sort(optical_power))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment