lineage.states.StateDistributionGaPhs ===================================== .. py:module:: lineage.states.StateDistributionGaPhs .. autoapi-nested-parse:: State distribution class for separated G1 and G2 phase durations as observation. Classes ------- .. autoapisummary:: lineage.states.StateDistributionGaPhs.StateDistribution Module Contents --------------- .. py:class:: StateDistribution(bern_p1 = 0.9, bern_p2 = 0.75, gamma_a1 = 7.0, gamma_scale1 = 3.0, gamma_a2 = 14.0, gamma_scale2 = 6.0) For G1 and G2 separated as observations. .. py:attribute:: params .. py:attribute:: G1 .. py:attribute:: G2 .. py:method:: rvs(size, rng=None) User-defined way of calculating a random variable given the parameters of the state stored in that observation's object. .. py:method:: dist(other) Calculate the Wasserstein distance between this state emissions and the given. .. py:method:: dof() Return the degrees of freedom. .. py:method:: logpdf(x) To calculate the log-likelihood of observations to states. .. py:method:: estimator(x, gammas) User-defined way of estimating the parameters given a list of the tuples of observations from a group of cells. .. py:method:: censor_lineage_array(censor_condition, tree, obs, states, desired_experiment_time=2000000000000.0) Applies censoring to array representation directly.