[yt-users] Recenter Halo

Chen Jingjing chenjj235 at gmail.com
Mon Mar 30 11:27:26 PDT 2015


Dear yt-users,
I am having a little problem on finding the exact center of a halo. I used
to do

"hc = HaloCatalog(data_ds=data_ds, finder_method='hop')"

to create a halo catalog. But I think the position in the catalog is a
little bit off the exact center judging from the plots I made. I need the
exact center to compute the angular momentum so the off-center result could
cause some problem. I tried to recenter at the maximum gas density by
adding this line

"hc.sphere_field_max_recenter('density')"

But I got an error, AttributeError: 'HaloCatalog' object has no attribute
'sphere_field_max_recenter'.

Can anyone tell me what is the right way to find the center as the location
of maximum gas density?

Thanks,
Jingjing



-- 

Jingjing Chen [ chenjj235 at gmail.com ]
Department of Astronomy
Columbia University
550 West 120th Street
New York, New York 10027
Cell Phone: +1(347)5746709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150330/3d814eff/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list