mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 17:58:01 +00:00
53a0629d90
* add recarray manipulations * add cart to radec * add behav so x can be a list * add import * create empty files * ignore plots file * add planck data * add read_mmain file * add cols_to_structured import * use cols_to_structured * add cols_to_structued * add read_mmain import * add reading planck * add mass conversion * add brute force separation calculation * update nb * rename & int dtype * add func to get csiborg ids * add list to nd array conversion * add utils * rename file * add 2M++ * add read 2mpp * add 2mpp shortcut * add randoms generator * Change range of RA [0, 360] * fix ang wrapping * add code for sphere 2pcf * rm wrapping * optionally load only a few borgs * update nb
37 lines
No EOL
1.9 KiB
Text
37 lines
No EOL
1.9 KiB
Text
Various column names
|
|
|
|
Clump file columns:
|
|
"index", "lev", "parent", "ncell", "peak_x", "peak_y", "peak_z", "rho-", "rho+", "rho_av", "mass_cl", "relevance"
|
|
|
|
Mergertree file columns:
|
|
"clump", "progenitor", "prog outputnr", "desc mass", "desc npart", "desc x", "desc y", "desc z", "desc vx", "desc vy", "desc vz"
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
|
|
The merger trees are stored in `output_XXXXX/mergertree_XXXXX.txtYYYYY` files. Each file contains 11 columns:
|
|
|
|
* `clump`: clump ID of a clump at this output number
|
|
* `progenitor`: the progenitor clump ID in output number "prog_outputnr"
|
|
* `prog_outputnr`: the output number of when the progenitor was an alive clump
|
|
* `desc mass`: mass of the current clump.
|
|
* `desc npart`: number of particles of the current clump.
|
|
* `desc x,y,z`: x, y, z position of current clump.
|
|
* `desc vx, vy, vz`: x, y, z velocities of current clump.
|
|
|
|
desc_mass and desc_npart will be either inclusive or exclusive, depending on how you set the `use_exclusive_mass` parameter.
|
|
(See below for details)
|
|
|
|
**How to read the output:**
|
|
|
|
* A clump > 0 has progenitor > 0: Standard case. A direct progenitor from the adjacent previous snapshot was identified for this clump.
|
|
* A clump > 0 has progenitor = 0: no progenitor could be established and the clump is treated as newly formed.
|
|
* A clump > 0 has progenitor < 0: it means that no direct progenitor could be found in the adjacent previous snapshot, but a progenitor was identified from an earlier, non-adjacent snapshot.
|
|
* A clump < 0 has progenitor > 0: this progenitor merged into this clump, but is not this clump's main progenitor.
|
|
* A clump < 0 has progenitor < 0: this shouldn't happen.
|
|
|
|
### Visualisation
|
|
|
|
`ramses/utils/py/mergertreeplot.py` is a python 2 script to plot the merger trees as found by this patch.
|
|
Details on options and usage are at the start of the script as a comment. |