MRP.MRPConfig

class MRPConfig.MRPConfig(_config: <module 'configparser' from '/home/docs/.asdf/installs/python/3.10.14/lib/python3.10/configparser.py'> = None)

Stores basic metadata regarding a reading/measurement, all attributes regarding MEASUREMENT are required in order to configure a MRPReading instance

get_as_dict() dict

returns the current config as dict. This dict is also stored in a exported MRPReading

Returns:

the current config

Return type:

dict

load_defaults()

Set all values to default.

static load_from_ini(_config_file_path: str | None = None)

loads a given .ini file and parses the entries. If valid entries are present, these values will be overwritten

Parameters:

_config_file_path (str) – absolute filepath to .ini file with config overwrite entries. See config.ini.EXAMPLE