Two Point Correlation Function in yt 3.0 with RAMSES
Hi all, I’m trying to compute the two point halo correlation function for RAMSES data using the code found at http://yt-project.org/docs/2.6/analyzing/analysis_modules/two_point_function... (I’ve already run HOP and written to HopAnalysis.out). I get an error saying ‘add_tree’ is not defined, but yt.utilities.kdtree is imported and build properly. Is this feature working in version 3.0? Many thanks, David P.S Sorry if this gets duplicated as I accidentally tried to send this with an unregistered e-mail
Hi David,
Sorry it's not working for you, and I apologize for my delay! I've
found a few things.
The first is that with the current Forthon, I had to make a change to
the Makefile, which I've pinged Kacper about. On my system I had to
add "-f fKD.f90" to the Forthon command.
The second is the add_tree command and a few others seem to have
changed in namespace recently. I'm not sure this is a yt thing rather
than a Forthon thing. Anyway, you can put this at the top of your
script:
fKD = fKDpy.fKD
and it should get you a long ways there. You'll also need to prefix
these function calls with fKD:
add_tree
create_tree
find_many_r_nearest
free_tree
Here's the script I was able to run to the point of computing things:
http://paste.yt-project.org/show/4268/
Although, it took a really long time and I ended up terminating it. I
was a bit surprised!
-Matt
On Wed, Jan 29, 2014 at 10:28 AM, David Sullivan
Hi all,
I'm trying to compute the two point halo correlation function for RAMSES data using the code found at http://yt-project.org/docs/2.6/analyzing/analysis_modules/two_point_function... (I've already run HOP and written to HopAnalysis.out). I get an error saying 'add_tree' is not defined, but yt.utilities.kdtree is imported and build properly. Is this feature working in version 3.0?
Many thanks, David
P.S Sorry if this gets duplicated as I accidentally tried to send this with an unregistered e-mail
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
David Sullivan
-
Matthew Turk