Advertisement
Guest User

fof.py

a guest
Feb 6th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. import yt
  2. from yt.analysis_modules.halo_analysis.api import *
  3. yt.enable_parallelism()
  4.  
  5.  
  6. ds = yt.load("DD0010/output_0010")
  7.  
  8. hc = HaloCatalog(data_ds = ds, finder_method = 'fof', finder_kwargs={'padding':0.02})
  9. hc.add_callback("save_profiles", output_dir="profiles")
  10. hc.create()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement