[yt-svn] commit/yt-doc: sskory: Fixing a small typo and adding information on how to access halo mass function

Bitbucket commits-noreply at bitbucket.org
Fri Aug 17 12:21:35 PDT 2012


1 new commit in yt-doc:


https://bitbucket.org/yt_analysis/yt-doc/changeset/df998fb3bcd9/
changeset:   df998fb3bcd9
user:        sskory
date:        2012-08-17 21:18:47
summary:     Fixing a small typo and adding information on how to access halo mass function
stuff without writing to disk.
affected #:  1 file

diff -r 3924ac089f0eab3401ba4a8fa38a3e23c64f91bd -r df998fb3bcd9be03362c64b10cea48bac6c6cbef source/analysis_modules/halo_mass_function.rst
--- a/source/analysis_modules/halo_mass_function.rst
+++ b/source/analysis_modules/halo_mass_function.rst
@@ -143,7 +143,17 @@
   from yt.analysis_modules.halo_mass_function.api import *
   hmf = HaloMassFcn(None, omega_matter0=0.3, omega_lambda0=0.7,
   omega_baryon0=0.06, hubble0=.7, this_redshift=0., log_mass_min=8.,
-  log_mass_max=13., sigma8input=0.9, primordial_index=1., omega_baryon0=0.06,
+  log_mass_max=13., sigma8input=0.9, primordial_index=1.,
   fitting_function=1)
   hmf.write_out(prefix="hmf-press-schechter", fit=True, haloes=False)
 
+It is possible to access the output of the halo mass function without saving
+to disk. The content is stored in arrays hanging off the ``HaloMassFcn''
+object:
+
+  * ``hmf.logmassarray`` for log10 of mass bin.
+  * ``hmf.massarray`` for mass bin.
+  * ``hmf.dn_M_z`` for (dn/dM)*dM (analytical fit).
+  * ``hmf.nofmz_cum`` for cumulative number density of halos (analytical fit).
+  * ``hmf.dis`` for cumulative number density of halos (from provided halo
+    halo information).

Repository URL: https://bitbucket.org/yt_analysis/yt-doc/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list