pynbody.plot.stars#
Routines for plots related to stellar particles
Functions
|
Based on Behroozi+ (2013) return what stellar mass corresponds to the halo mass passed in. |
|
Plot surface brightness contours in the given band. |
|
|
|
Stellar Mass vs. |
|
Based on Hudson+ (2014), returns what stellar mass corresponds to the halo mass passed in. This is the only SMHMR function that is not based on abundance matching, but instead uses date from CFHTLenS galaxy lensing data. >>> from pynbody.plot.stars import hudson >>> xmasses = np.logspace(np.log10(min(totmasshalos)),1+np.log10(max(totmasshalos)),20) >>> ystarmasses, errors = hudson(xmasses,halo_catalog._halos[1].properties['z']) >>> plt.fill_between(xmasses,np.array(ystarmasses)/np.array(errors), y2=np.array(ystarmasses)*np.array(errors), facecolor='#BBBBBB',color='#BBBBBB'). |
|
Plot an healpix map (given as an array) in Mollweide projection. |
|
Based on Moster+ (2013) return what stellar mass corresponds to the halo mass passed in. |
|
One Schmidt Law Point |
|
Make a 3-color image of stars. |
|
Make a 3-color all-sky image of stars in a mollweide projection. |
|
satellite luminosity function |
|
surface brightness profile |
|
Schmidt Law |
|
star formation history |
|
Stellar Mass vs. |