[yt-users] comoving distance a_box

Huanqing hqchen at oddjob.uchicago.edu
Thu Oct 12 14:27:08 PDT 2017


Hi all,

I’m using yt to generate halo catalog. However, when I check the halos created by HaloCatalog function, I found the corresponding comoving unit uses the expansion factor of the universe rather than a_box. 

For example, My boxsize is 20cMpc/h, but if I use .in_units(‘Mpccm/h’), the halos are offset by some amount (see attached). I wonder if this is a bug in converting physical unit to comoving unit?

Thanks,
Huanqing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20171012/7b404c24/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comoving_offset.png
Type: image/png
Size: 241539 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20171012/7b404c24/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comoving.png
Type: image/png
Size: 331871 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20171012/7b404c24/attachment-0003.png>


More information about the yt-users mailing list