Created
July 15, 2015 22:16
-
-
Save evanbiederstedt/2c4a4c9c1494383dd0e5 to your computer and use it in GitHub Desktop.
Properties of CMB map array
This file contains hidden or 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 | |
tempp = (1e6)*tempval # multiply CMB maps by 1e6 | |
print tempp.shape # array shape | |
OUTPUT: | |
(3072,) | |
print np.median(tempp) # median | |
OUTPUT: | |
2.81161430848 | |
print np.average(tempp) # weighted average | |
OUTPUT: | |
0.000739081832773 | |
print np.mean(tempp) | |
OUTPUT: | |
0.000739081832773 | |
print np.var(tempp) | |
OUTPUT: | |
2676.42822051 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment