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 listofstrdenoting kwargs that are ignored (not being set)- **kwargs
Keyword arguments to set on the object.
- obj