hplattice.Config

class hplattice.Config.Config(filename=None)[source]

A data structure to hold all the configuration data for an HP model calculation.

Parameters:filename (str) – optional, path to configuration file
print_config()[source]

Output the values of the configuration variables.

read_configfile(filename)[source]

Read in configuration parameters from file. The file should have formatted rows consisting of two fields, separated by white-space (or any non-printing characters, like tabs):

HPSTRING              PHPPHPPPHP 
INITIALVEC            [0,0,0,0,0,0,0,0,0,0]
....
Parameters:filename (str) – path to configuration file