mirror of
https://github.com/Richard-Sti/csiborgtools_public.git
synced 2025-05-14 06:31:11 +00:00
Updates to the overlap reader. (#54)
* Flag for loading clumps_cat * Optionally load clumps catalogues * Update single pair reading * Edit reading many pairs
This commit is contained in:
parent
56e39a8b1d
commit
51b670d30b
3 changed files with 119 additions and 108 deletions
|
@ -48,9 +48,11 @@ matcher = csiborgtools.match.RealisationsMatcher()
|
|||
# Load the raw catalogues (i.e. no selection) including the initial CM
|
||||
# positions and the particle archives.
|
||||
cat0 = HaloCatalogue(args.nsim0, paths, load_initial=True,
|
||||
minmass=("totpartmass", 1e12), with_lagpatch=True)
|
||||
minmass=("totpartmass", 1e12), with_lagpatch=True,
|
||||
load_clumps_cat=True)
|
||||
catx = HaloCatalogue(args.nsimx, paths, load_initial=True,
|
||||
minmass=("totpartmass", 1e12), with_lagpatch=True)
|
||||
minmass=("totpartmass", 1e12), with_lagpatch=True,
|
||||
load_clumps_cat=True)
|
||||
|
||||
clumpmap0 = read_h5(paths.particles_path(args.nsim0))["clumpmap"]
|
||||
parts0 = read_h5(paths.initmatch_path(args.nsim0, "particles"))["particles"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue