Created
August 5, 2021 21:06
-
-
Save cshimmin/a2005c689426e6d5033903ecefea4699 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
na = np.loadtxt('../nanoamps') | |
_,bins,_ = plt.hist(na, bins=40, color='gray', alpha=0.2, density=False); | |
plt.hist(na.reshape(4,-1).T, bins=bins, histtype='step', density=False); | |
na_ = na.reshape(4,-1) | |
plt.hist(np.mean(na_, axis=0), histtype='step', bins=30); | |
_,bins,_ = plt.hist(na, bins=40, color='gray', alpha=0.2, density=False); | |
plt.hist(np.std(na_, axis=0, ddof=1), bins=bins); | |
np.argmax(np.std(na_,axis=0,ddof=1)) | |
np.argwhere(na_ == np.max(na_)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment