Shankar,
from yt.mods import *
fn = "RedshiftOutput0002" pf = load(fn) halos = HaloFinder(pf) halos.modify["hop_circles"](self, hop_output, max_number=None, annotate=False, min_size=20, max_size=10000000, font_size=8, print_halo_size=False, print_halo_mass=False, width=None) halos.write_out("HopAnalysis.out")
hop_circles makes a plot of hop haloes on an existing projection. You need to create the projection first. So... ... halos = HaloFinder(pf) pc = PlotCollection(pf) p = pc.add_projection("Density",0) p.modify["hop_circles"](halos, max_number=etc...) pc.set_width(1.0, '1') pc.save('plotname') My advice is, when you try to use a new function, you should figure out what it's doing and what the inputs are. For example, even if your input was formatted correctly, you haven't defined 'self' or 'hop_output' before you use them in the function call, and it would have failed anyway. Also, 'self' is a special variable in python that is never used as an argument of a function call. Good luck! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________