API reference#

Docstrings are defined once per module below. Import everything from the top level as usual (import phypanda as pp); this page maps names to the detailed sections—there is no separate duplicate “package” autodoc page.

Where to find what#

Topic

Page

diversity, marginal_diversities, greedy_max_diversity, solve_max_diversity

Base helpers

DiversityMeasure protocol

Measure protocol

all_paths, AllPathsDiversity

All-paths (MAPD) measure

solve_esw_fpt, solve_nsw_fpt_budget (low-level solvers)

All-paths solvers

max_tree, MaxTreeDiversity

Max-tree PD

min_tree, MinTreeDiversity, prune_to_taxa, adapt_tree_extension_for_pruned_network

Min-tree PD

tree, network, average_tree stubs

Tree diversity (stub), Network diversity (stub), Average-tree diversity (stub)