treeflow.evolution.substitution.nucleotide.jc module

class treeflow.evolution.substitution.nucleotide.jc.JC

Bases: EigendecompositionSubstitutionModel

static frequencies(dtype=tf.float64)
q(frequencies: Tensor, dtype=tf.float64) Tensor
eigen(frequencies: Tensor | None = None, dtype: DType = tf.float64) Eigendecomposition

Eigendecomposition of the normalised instantaneous rate matrix

q_norm(frequencies: Tensor, **kwargs: Tensor) Tensor