ParsObj#

class ParsObj(pars)[source]#

Bases: FlexPretty

A class based around performing operations on a self.pars dict.

Methods

update_pars(pars=None, create=False)[source]#

Update internal dict with new pars.

Parameters:
  • pars (dict) – the parameters to update (if None, do nothing)

  • create (bool) – if create is False, then raise a KeyNotFoundError if the key does not already exist