tree module¶
- class tree.HyperCube(boundaries, mismatch, constraint_func=<function mass_sym_constraint>, metric=None, metric_tensor=None, det=None)[source]¶
Bases:
object
- class tree.Node(cube, parent=None, boundary=None)[source]¶
Bases:
object
A Node implements a node in a binary tree decomposition of the parameter space. A node is a container for one hypercube. It can have sub-nodes that split the hypercube.
- bad_aspect_count = [0]¶
- leafnodes(out=None)[source]¶
Return a list of all leaf nodes that are ancestors of the given node and whose bounding box is not fully contained in the symmetryic region.
- split(split_num_templates, mismatch, bifurcation=0, verbose=True, metric_tol=0.1, max_coord_vol=10.0)[source]¶
- template_count = [1]¶