Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import yt
- from yt.analysis_modules.halo_analysis.api import *
- yt.enable_parallelism()
- ds = yt.load("DD0010/output_0010")
- hc = HaloCatalog(data_ds = ds, finder_method = 'fof', finder_kwargs={'padding':0.02})
- hc.add_callback("save_profiles", output_dir="profiles")
- hc.create()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement