Dear yt users,
I just updated yt to 4.0.1 and now I get this error message when trying to
run enzo-mrp-music.py from John Wise on
https://github.com/jwise77/enzo-mrp-music.
Traceback (most recent call last):
File "enzo-mrp-music/enzo-mrp-music.py", line 264, in <module>
params = find_lagrangian_region(params)
File "enzo-mrp-music/enzo-mrp-music.py", line 177, in
find_lagrangian_region
get_center_and_extent(params["halo_info"],
File "enzo-mrp-music/get_halo_initial_extent.py", line 147, in
get_center_and_extent
halo_indices, halo_com, shifted = get_halo_indices(my_halo,
final_dataset,
File "enzo-mrp-music/get_halo_initial_extent.py", line 119, in
get_halo_indices
get_halo_sphere_particles(my_halo, dataset, radius_factor=radius_factor)
File "enzo-mrp-music/get_halo_initial_extent.py", line 73, in
get_halo_sphere_particles
my_sphere = pf.h.sphere(my_halo_data['center'], radius_factor * r_200)
AttributeError: 'EnzoDataset' object has no attribute 'h'
I am honestly not sure what the attribute 'h' does in this case, so I
didn't know what to try to adjust. Any suggestions for getting around this?
Or how can I go back to yt 3?
Kind regards,
--
Carla Bernhardt
PhD Student
Universität Heidelberg
ZAH Institut für Theoretische Astrophysik
Hi everyone,
tl;dr: tell us how to cite your yt-using papers at
https://forms.gle/Vkvab2RXLf8oTp3z6
For the last few years, we've been working on a paper about yt-4.0,
and the updates since the last paper was published over a decade ago.
I've dragged my feet on it a little bit, but I'm hoping that over the
next few months the last bits can be written up, polished, and the
paper submitted. (See the end of this email for authorship
information on the paper!) The current "build" of the paper is here:
https://yt-project.github.io/yt-4.0-paper/
with a repository at github.com/yt-project/yt-4.0-paper/ .
The paper isn't *yet* complete... which is where this email comes in!
I've been trying to collect a somewhat representative set of
references to the papers that describe or utilize yt for different
simulation platforms. There are two types of citations that we're
trying to track down -- citations that describe the simulation
platform (i.e., the "method paper" that talks about the code) and
those that use yt to analyze data output by the simulation platform
(i.e., maybe you wrote a paper and used yt). To make this easy, I've
made up a google form:
https://forms.gle/Vkvab2RXLf8oTp3z6
If you are able to take a minute and submit a couple references to
your work or work you know about that used yt, it would be very, very
helpful!
And as for the paper itself, we're preparing an email inviting
authorship to anyone who has had changes committed into the yt
repository, but the authorship policy for the paper is by design very
inclusive and described here:
https://github.com/yt-project/yt-4.0-paper#authorship-policy . If you
have contributed, you are likely going to receive this email, but if
you are certain you would like to be included, please follow the
instructions in that link to see how to be added to the manuscript.
Thanks very much,
Matt