tbplas.TBPMConfig

class tbplas.TBPMConfig

Class for representing TBPM parameters.

__init__()

Methods

__init__()

load(prefix[, fmt])

Read configuration from file.

save([fmt])

Save configuration to file.

__init__()
load(prefix: str, fmt: str = 'pkl') None

Read configuration from file.

NOTE: Large arrays like wft_wf0 are not saved and restored.

Parameters:
  • prefix – prefix of config file

  • fmt – format of config file

save(fmt: str = 'pkl') None

Save configuration to file. :param fmt: format of output :return: None

__weakref__

list of weak references to the object