For my master's research, I installed yt and I want to load my research data converted to gadget2 format with yt.
The function I want to use is the clump function, and I want to create a similar figure by performing the same processing as the Clump Finding below.
First of all, I tried to test with the gadget data placed in the data index, but neither the default nor the hdf5 format works.
Is it possible to do Clump Finding in Gadget2 format?
Thanks for all your help over the last couple of days. One more question:
- Can I plot particles on a volume rendered image?
I have stars and I want to show where they are!
Elizabeth Harper-Clark MA MSci
PhD Candidate, Canadian Institute for Theoretical Astrophysics, UofT
Sciences and Engineering Coordinator, Teaching Assistants' Training Program,
Astronomy office phone: +1-416-978-5759
I'm working with PLUTO now and require some analysis tools which are provided by yt, such as OffAxisProjection.
However, I found PLUTO data is only supported in Chombo HDF5 format so far. I have some initial setups which are conflict with chombo library. So does anyone know how to analyze general format data of PLUTO, such as .dbl and .vtk, with yt?
btw, I'm also wondering how complex it is if I want to create a frontend for the general format data of PLUTO. Is that all stuff mentioned in https://yt-project.org/doc/developing/creating_frontend.html?
I'm doing calculations that include particles with FLASH and reading in the
data with yt. I've had an issue with losing particles, or so I thought.
However I noticed that particles with tags that I thought were lost are
present at later times. Then, looking at the data with hdfview, I see that
it seems that the data is there in the tracer particles array, but
yt doesn't return the last row of the table. It works when none of the
particles are lost (i.e. have blk = -1), but when there are particles
like that it seems that it also loses another particle, whichever happens
to be last in the array. The behavior could be more complicated than that,
but that's what I've seen so far.
I've looked at the code in frontends/flash/io.py but don't see anything
obvious that could cause that. Any help would be appreciated.
Jonathan D. Slavin
Astrophysicist - High Energy Astrophysics Division
Center for Astrophysics | Harvard & Smithsonian
Office: (617) 496-7981 | Cell: (781) 363-0035
60 Garden Street | MS 83 | Cambridge, MA 02138
Hi yt community!
I just heard about this meeting being held this upcoming May 2022 at the
CCA about open source development practices. I think many of us might be
interested! If so you can sign up to get updates about the meeting.
We are planning a workshop focused on topics in open source software
development practices for astronomy, held in person at the Center for
Computational Astrophysics in New York City, May 16–20, 2022. The program
and scope are still in development, but we expect it to be of interest to
astronomers with a wide range of open source experience, and across all
career stages. The schedule will include a large fraction of unstructured
time for participant-driven discussion, collaboration, and co-working.
For more information about this workshop and to sign up to hear more
details as they become available, please check out our website at
Please share this email with your department lists and/or anyone else who
you think might be interested in participating in this event.
(on behalf of the organizing committee)
Associate Research Scientist, Flatiron Institute
Hello yt-folks !
yt native colormaps now have their own package, already available on PyPI https://pypi.org/project/cmyt/
This has two important implications:
This message is addressed to anyone who installed yt from source and updates their install regularly. If that’s not your case you can jump to the second item
So I’m reaching out to raise awareness about an upcoming change to yt's main branch
You need to install it to keep your local install working after the PR above is merged
You can perform the installation right now if you wish to, you don’t need to wait on the PR to get merged.
python -m pip install cmyt
And you’re done ! Conda-distribution is planned to land soon after the pull request is merged.
you can now use yt’s colormaps with raw matplotlib and outside of yt if you want to. See cmyt’s documentation (one page).