[yt-users] Density/Column density along a ray

Thomas Robitaille thomas.robitaille at gmail.com
Wed Aug 8 08:56:34 PDT 2012


Hi

I'm still relatively new to yt, and I'm trying to figure out a way to
extract the density along a ray joining two points. I've managed to
make a plot using PlotCollection.add_ray, but I can't figure out how
to get the actual data as a Numpy array. Also, I'd ultimately like to
compute the cumulative column density along the ray, so I'd like to
ensure that the sampling of distances along the ray is very fine to
get an accurate column density. Is there a way to do this?

Thanks for any help!

Cheers,
Tom



More information about the yt-users mailing list