Option |
Format |
Default |
Description |
out_dir |
string
|
(required) |
Path for the output data.
The output data are ctree_tree.dat and ctree_key.dat
ctree_tree.dat has the Lagrangian branch data for the entire branches.
ctree_key.dat gives the mapping for (#Snap, #ID)->(branch index).
The data format is explaned in Tree Key File Format.
The output data can be post-processed with example codes in ./example/rdtree.py or ./example/rdtree.pro
Examples how to load a branch data is given in Reading example.
|
iotype |
string
|
(required) |
Catalog type.
Currently (as of Feb 2026), the following options are available.
|
|
|
|
|
vr_dir_catalog |
string
|
(required) |
Path for the catalog data when iotype = VR
CTree searches raw VELOCIraptor outputs (e.g., *.catalog.dat0) in directories divided by snapshot numbers
(e.g.,) vr_dir_catalog/vr_dir_catalog_prefix SSSS vr_dir_catalog_suffix/
|
vr_dir_catalog_prefix |
string
|
|
|
vr_dir_catalog_suffix |
string
|
|
|
vr_dir_catalog_snapdigit |
integer
|
4 |
The digit number for snapshot number in the directory name (the default value is 4) |
|
|
|
|
veluga_dir_catalog |
string
|
(required) |
Path for the catalog data when iotype = VELUGA
Path at which snap_* directories are located
horg option should be given
|
|
|
|
|
hm_dir_catalog |
string
|
(required) |
Path for the catalog data when iotype = HM
Path at which *.bricks are located
|
|
|
|
|
loadtree |
Y or N
|
(required) |
Flag whether a pre-existing merger tree is used
If set, CTree begins with the given merger tree data and reparis the branches
If set, loadtree_ftree and loadtree_fkey should be given
The tree data format is described in Output data format
|
loadtree_ftree |
string
|
(required) |
Path for the merger tree branch data when loadtree = Y |
loadtree_fkey |
string
|
(required) |
Path for the merger tree key data when loadtree = Y |
snapi, snapf |
integer
|
(required) |
Snapshot range identifers. CTree loops from snapf to snapi
A user can also give the snapshot list by a Ascii file with snaplist
|
snaplist
|
string
|
|
File identifer including the list of snapshots (line-by-line).
The list is automatically sorted
|
horg
|
h or g
|
h |
Flag for the catalog type (Halo or Galaxy).
It is only used when reading the catalog data (iotype = VELUGA and iotype = HM).
|
|
|
|
|
makecheck |
integer
|
10 |
Control saving of intermediate data.
For a positive value, data are saved at snapshots where the snapshot number modulo this value equals zero.
CTree can be restarted from these snapshots.
If a negative value is provided, no intermediate data are saved.
|
loadcheck |
integer
|
-1 |
A snapshot number for the restart, if exists. |