the yt project's blog
Annotations Archive Blog Community Data Documentation Experimental Frontends Enzo Frontends Maestro Fun Halos Hdf5 Loading Data New Feature New Features Particles Phaseplots Release Releases Sliceplot Streamlines Surfaces Time Series Transforms/Projections Volume Rendering Yt 2.x Yt 3.x Yt 4.1 Yt Core

© 2022 yt project blog

Powered by Hugo with theme Dream.

The Rockstar Halo Finder in yt

The Rockstar Halo Finder in yt

Monday, Nov 26, 2012

@ Stephen Skory

Over the last few weeks, Matt Turk, Christopher Moody, and Stephen Skory have been working to improve the integration of the Rockstar halo finder in yt. Rockstar was written primarily by Peter Behroozi and has a main website here. Linked there is the source and the most current edition of the method paper which includes a timing and scaling study. Rockstar is a six dimensional halo finder, meaning that it considers both particle position and momentum when locating dark matter halos.
Simple Grid Refinement

Simple Grid Refinement

Tuesday, Oct 30, 2012

@ Matthew Turk

Notebook Download Grid refinement In yt, you can now generate very simple initial conditions: In[1]: from yt.mods import * from import load_uniform_grid from yt.frontends.gdf.api import * from yt.utilities.grid_data_format.writer import write_to_gdf class DataModifier(object): pass class TophatSphere(DataModifier): def __init__(self, fields, radius, center): self.fields = fields self.radius = radius = center def apply(self, grid, container): r = ((grid['x'] -[0])**2.0 + (grid['y'] -[1])**2.0 + (grid['z'] -[2])**2.0)**0.5 for field in self.
Boolean Data Containers

Boolean Data Containers

Wednesday, Nov 9, 2011

@ Stephen Skory

A useful new addition to yt are boolean data containers. These are hybrid data containers that are built by relating already-defined data containers with each other using boolean operators. Nested boolean logic, using parentheses, is also supported. The boolean data container (or volume) is made by constructing a list of volumes interspersed with operators given as strings. Below are some examples of what can be done with boolean data containers.
New Screencasts

New Screencasts

Tuesday, Sep 27, 2011

@ Matthew Turk

A few of the yt developers have been experimenting with screencasts to show off new features or demonstrate how to do some things. Sam and I have both prepared screencasts on volume rendering and getting started with developing, respectively. Check them out below, and please feel free to leave comments and let us know what you think – not just about the screencasts, but about what they demonstrate, and if you think any of the concepts or routines could be made easier.

yt extension modules

yt has many extension packages to help you in your scientific workflow! Check these out, or create your own.


ytini is set of tools and tutorials for using yt as a tool inside the 3D visual effects software Houdini or a data pre-processor externally to Houdini.


Trident is a full-featured tool that projects arbitrary sightlines through astrophysical hydrodynamics simulations for generating mock spectral observations of the IGM and CGM.


pyXSIM is a Python package for simulating X-ray observations from astrophysical sources.


Analyze merger tree data from multiple sources. It’s yt for merger trees!


yt_idv is a package for interactive volume rendering with yt! It provides interactive visualization using OpenGL for datasets loaded in yt. It is written to provide both scripting and interactive access.


widgyts is a jupyter widgets extension for yt, backed by rust/webassembly to allow for browser-based, interactive exploration of data from yt.


yt_astro_analysis is the yt extension package for astrophysical analysis.

Make your own!!

Finally, check out our development docs on writing your own yt extensions!

Contributing to the Blog

Are you interested in contributing to the yt blog?

Check out our post on contributing to the blog for a guide!

We welcome contributions from all members of the yt community. Feel free to reach out if you need any help.

the yt data hub

The yt hub at has a ton of resources to check out, whether you have yt installed or not.

The collections host all sorts of data that can be loaded with yt. Some have been used in publications, and others are used as sample frontend data for yt. Maybe there’s data from your simulation software?

The rafts host the yt quickstart notebooks, where you can interact with yt in the browser, without needing to install it locally. Check out some of the other rafts too, like the widgyts release notebooks – a demo of the widgyts yt extension pacakge; or the notebooks from the CCA workshop – a user’s workshop on using yt.

Social Links