dm only viriral masses
Hi all, I wrote a simple script that finds the virial masses of DM only haloes in yt. My thought is that this could be easily added to Britton's HaloProfiler and selected with a dm_only flag. What does everyone think? Thanks! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
Hi Stephen,
Out of curiosity, can you provide some detail on how your script works? Is
it dong something completely different from the halo profiler? If that's
true, then it's probably worth adding.
Britton
On Tue, Dec 8, 2009 at 2:29 PM, Stephen Skory
Hi all,
I wrote a simple script that finds the virial masses of DM only haloes in yt. My thought is that this could be easily added to Britton's HaloProfiler and selected with a dm_only flag. What does everyone think?
Thanks! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ http://physics.ucsd.edu/%7Esskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Britton,
Out of curiosity, can you provide some detail on how your script works? Is it dong something completely different from the halo profiler? If that's true, then it's probably worth adding.
Now that I think about it, my function make more sense going inside of HaloFinding. I basically used the same logic as in HaloProfiler. But because it depends on knowing the exact population of particles in each halo, it should be attached there, rather than in HaloProfiler. _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
Stephen,
Ok, that sounds fine. There still might be some use in having an interface
with the halo profiler. If you're calculating virial masses for halos, but
only concerned with those above some minimum mass, this might be a nice way
of skipping halos that we know will be below the threshold virial mass.
Currently, the default method in the code is to continue to profile halos
down to 0.1 of the mass calculated by the halo finder. That tends to be
overkill, but I set it low to make sure not to miss any halos. However,
this calculation would get us much closer to knowing the total virial mass
before-hand and might be a finer filter than what we've been using. Once
you have it in there, I'll check it out to see if there's a way the halo
profiler can take advantage of it.
Britton
On Thu, Dec 10, 2009 at 10:16 AM, Stephen Skory
Britton,
Out of curiosity, can you provide some detail on how your script works? Is it dong something completely different from the halo profiler? If that's true, then it's probably worth adding.
Now that I think about it, my function make more sense going inside of HaloFinding. I basically used the same logic as in HaloProfiler. But because it depends on knowing the exact population of particles in each halo, it should be attached there, rather than in HaloProfiler.
_______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ http://physics.ucsd.edu/%7Esskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Britton, I've added it to the mercurial repo. It works for me in both serial on old HOP and in Parallel HOP with very similar answers. The interface is typical: haloes = HaloFinder... print haloes[0].virial_mass(), haloes[0].virial_radius() I'm open to any suggestions! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
participants (2)
-
Britton Smith
-
Stephen Skory