swamp.parsers.phenixparser module

class PhenixParser(stdout, logger=None)[source]

Bases: swamp.parsers.parser.Parser

A phenix.get_cc stdout parser

Parameters:
  • stdout (str) – the stdout to be parsed (default None)
  • logger (SwampLogger) – logging interface for the parser (default None)
Variables:
  • overall_CC – the overall correlation coefficient parsed from stdout
  • local_CC – the local correlation coefficient parsed from stdout
Example:
>>> from swamp.parsers import PhenixParser
>>> my_parser = PhenixParser('<stdout>')
>>> my_parser.parse()
parse()[source]

Extract the figures of merit from stdout

summary

A summary of the figures of merit