SimPEG.utils.set_kwargs#
- SimPEG.utils.set_kwargs(obj, ignore=None, **kwargs)[source]#
Set key word arguments for an object or throw an error if any do not exist.
- Parameters
- obj
class
Instance of a class
- ignore
list
,optional
list
ofstr
denoting kwargs that are ignored (not being set)- **kwargs
Keyword arguments to set on the object.
- obj