API Reference
Working with Merger Trees
The load can load all supported
merger tree formats. Once loaded, the
save_arbor and
save_tree functions can be
used to save the entire arbor or individual trees.
|
Load an Arbor, determine the type automatically. |
|
Base class for all Arbor classes. |
|
Add a field as an alias to another field. |
|
Add an empty field to be filled by analysis operations. |
|
Add a field that is a function of other fields. |
|
Add vector fields for a set of x,y,z component fields. |
Create a unyt_array using the Arbor's unit system. |
|
Helper function for creating |
|
Cosmology calculator with self-consistent parameters and units. |
|
Create a unyt_quantity using the Arbor's unit system. |
|
|
Save the arbor to a file. |
|
Select halos from the arbor based on a set of criteria given as a string. |
|
Sets the tree node selector to be used. |
|
A container to hold a persistent collection of unrelated TreeNodes. |
|
Class for objects stored in Arbors. |
|
Get all leaf nodes from the tree of which this is the head. |
Get all root nodes from the forest to which this node belongs. |
|
|
Get a single TreeNode from a tree. |
|
Save the tree to a file. |
|
The TreeNodeSelector is responsible for choosing which one of a halo's ancestors to return when querying the line of main progenitors for a halo. |
|
The TreeNodeSelector is responsible for choosing which one of a halo's ancestors to return when querying the line of main progenitors for a halo. |
|
Add a TreeNodeSelector to the registry of known selectors, so they can be chosen with |
|
Return the TreeNode with the maximum value of the given field. |
|
Return the TreeNode with the minimum value of the given field. |
|
Get a selection of halos meeting given criteria. |
|
Generate TreeNodes from a yt data container. |
Reload the arbor and setup pre-existing derived fields. |
|
Load as a yt dataset. |
Visualizing Merger Trees
Functionality for plotting merger trees.
|
Make a simple merger tree plot using pydot and graphviz. |
|
Save the merger tree plot. |
Analysis Pipeline
Machinery for creating a pipeline of analysis to be run on halos in a merger tree.
|
Initialize an AnalysisPipeline. |
|
Add an operation to the AnalysisPipeline. |
|
Add a recipe to the AnalysisPipeline. |
|
Process a node through the AnalysisPipeline. |
|
An analysis task performed by an AnalysisPipeline. |
Parallelism
Functions for iterating over trees and/or nodes in parallel.
|
Iterate over a list of trees in parallel. |
|
Iterate over nodes in a single tree in parallel. |
|
Iterate over all nodes in a list of trees in parallel. |
Internal Classes
Base Classes
All frontends inherit from these base classes for arbor, fields, and i/o.
|
Base class for all Arbor classes. |
|
Arbor subclass for multi-file datasets where an entire merger tree is contained within a file (i.e., no overlap). |
|
Base class for Arbors created from a series of halo catalog files where the descendent ID for each halo has been pre-determined. |
Base class for detecting field dependencies and testing operations. |
|
|
A fake field data container used to calculate dependencies. |
|
A TreeNode-like object to test select_halos criteria. |
|
A container for information about fields. |
|
A container for field data. |
|
Base class for FieldIO classes. |
|
IO class for getting fields for a tree. |
|
Class for getting root fields from arbors that have no specialized storage for root fields. |
|
Base class for data files. |
|
Base class for halo catalog files. |
Arbor Subclasses
Arbor subclasses for each frontend.
|
Arbor for Amiga Halo Finder data without a CRMratio2 file. |
|
Arbors loaded from consistent-trees tree_*.dat files. |
|
Arbors loaded from consistent-trees locations.dat files. |
|
Class for Arbors created from consistent-trees hlist_*.list files. |
|
Arbors loaded from consistent-trees data converted into HDF5. |
|
Arbors loaded from consistent-trees tree_*.dat files. |
|
Gadget4 inline merger tree format. |
|
Arbors for LHaloTree data. |
|
IllustrisTNG format. |
|
Arbors from Moria merger trees. |
|
Class for Arbors created from Rockstar out_*.list files. |
|
Class for Arbors created with |
|
Class for Arbors created from the |
FieldInfo Subclasses
Subclasses for frontend-specific field definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FieldIO Subclasses
Subclasses for data i/o from a whole dataset.
|
|
|
|
|
Read in fields for first node in all trees/forest. |
|
|
|
|
|
|
|
|
|
|
|
|
|
DataFile Subclasses
Subclasses for data i/o from individual files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|