IMP Reference Guide
2.21.0
The Integrative Modeling Platform
|
Functions to analyze spatiotemporal models. More...
Functions to analyze spatiotemporal models.
Functions | |
def | purity |
Function that reads in one labeled_pdf from create_DAG and returns the purity, defined as the sum of the squared probability of all trajectories. More... | |
def | temporal_precision |
Function that reads in two labeled_pdfs from create_DAG and returns the temporal_precision, defined as the probability overlap between two pathway models. More... | |
def IMP.spatiotemporal.analysis.purity | ( | labeled_pdf_fn, | |
output_fn = 'purity.txt' |
|||
) |
Function that reads in one labeled_pdf from create_DAG and returns the purity, defined as the sum of the squared probability of all trajectories.
labeled_pdf_fn | string, labeled pdf file name (including the path); labeled_pdf from the total model |
output_fn | string, name of output file (default: 'temporal_precision.txt') |
Definition at line 81 of file spatiotemporal/Analysis.py.
def IMP.spatiotemporal.analysis.temporal_precision | ( | labeled_pdf1_fn, | |
labeled_pdf2_fn, | |||
output_fn = 'temporal_precision.txt' |
|||
) |
Function that reads in two labeled_pdfs from create_DAG and returns the temporal_precision, defined as the probability overlap between two pathway models.
labeled_pdf1_fn | string, labeled pdf file name (including the path); labeled_pdf from one independent sampling |
labeled_pdf2_fn | string, labeled pdf file name (including the path); labeled_pdf from another independent sampling |
output_fn | string, name of output file (default: 'temporal_precision.txt') |
Definition at line 17 of file spatiotemporal/Analysis.py.