Source

yt.geometry_tests / derived.py

Full commit
from yt.mods import *

pf = load("DD0039/output_0039")
sp = pf.h.sphere('c', (100.0, 'pc'))
print "Density"
print sp["Density"]
print "Ones"
print sp["Ones"]
print "Entropy"
print sp["Entropy"]