Result¶
- Result
-
class
maboss.result.Result(simul, command=None, workdir=None, overwrite=False, prefix='res')[source]¶ -
get_entropy_trajectory()¶ Returns the entropy vs time, as a pandas dataframe.
-
get_entropy_trajectory_error()¶ Returns the entropy error vs time, as a pandas dataframe.
-
get_fptable()¶ Return the content of fp.csv as a pandas dataframe.
-
get_last_nodes_probtraj()¶ Returns the asymptotic node probability, as a pandas dataframe.
-
get_last_states_probtraj()¶ Returns the asymptotic state probability, as a pandas dataframe.
-
get_nodes_probtraj(prob_cutoff=None)¶ Returns the node probability vs time, as a pandas dataframe.
Parameters: prob_cutoff (float) – returns only the nodes with proba > cutoff
-
get_nodes_probtraj_error()¶ Returns the node probability error vs time, as a pandas dataframe.
-
get_states_probtraj(prob_cutoff=None)¶ Returns the state probability vs time, as a pandas dataframe.
Parameters: prob_cutoff (float) – returns only the states with proba > cutoff
-
get_states_probtraj_errors()¶ Returns the state probability error vs time, as a pandas dataframe.
-
plot_entropy_trajectory(until=None, axes=None)¶ Plot the evolution of the (transition) entropy over time.
Parameters: until (float) – plot only up to time=`until`.
-
plot_fixpoint(axes=None)¶ Plot the probability distribution of fixed point.
-
plot_node_trajectory(until=None, legend=True, error=False, prob_cutoff=0.01, axes=None)¶ Plot the probability of each node being up over time.
Parameters: until (float) – plot only up to time=`until`.
-
plot_piechart(embed_labels=False, autopct=4, prob_cutoff=0.01, axes=None, legend=True, nil_label=None)¶ Plot the states probability distribution of last time point.
Parameters: - prob_cutoff (float) – states with a probability below this cut-off are grouped as “Others”
- embed_labels (bool) – if True, the labels are displayed within the pie
- autopct (float or bool) – display pourcentages greater than autopct within the pie (defaults to 4 if it is a Boolean)
-
plot_trajectory(legend=True, until=None, error=False, prob_cutoff=0.01, axes=None)¶ Plot the graph state probability vs time.
Parameters: - until (float) – plot only up to time=`until`
- legend (bool) – display legend
-