IMP Reference Guide
2.9.0
The Integrative Modeling Platform
|
A class for reading stat files (either rmf or ascii v1 and v2) More...
Inherits object.
A class for reading stat files (either rmf or ascii v1 and v2)
Public Member Functions | |
def | get_fields |
Get the desired field names, and return a dictionary. More... | |
def IMP.pmi.output.ProcessOutput.get_fields | ( | self, | |
fields, | |||
filtertuple = None , |
|||
filterout = None , |
|||
get_every = 1 , |
|||
statistics = None |
|||
) |
Get the desired field names, and return a dictionary.
Namely, "fields" are the queried keys in the stat file (eg. ["Total_Score",...]) The returned data structure is a dictionary, where each key is a field and the value is the time series (ie, frame ordered series) of that field (ie, {"Total_Score":[Score_0,Score_1,Score_2,Score_3,...],....} )
fields | (list of strings) queried keys in the stat file (eg. "Total_Score"....) |
filterout | specify if you want to "grep" out something from the file, so that it is faster |
filtertuple | a tuple that contains ("TheKeyToBeFiltered",relationship,value) where relationship = "<", "==", or ">" |
get_every | only read every Nth line from the file |
statistics | if provided, accumulate statistics in an OutputStatistics object |