GeneratorArguments
- class GeneratorArguments[source]
Arguments used by
generate_modelandgenerate_model.- Parameters:
nr_compartments (int) – The number of compartments.
irf (bool) – Whether to add a gaussian irf.
See also
Attributes Summary
__annotations____dict____doc____hash____module____optional_keys____orig_bases____required_keys____total____weakref__list of weak references to the object (if defined)
Methods Summary
See PEP 585
True if the dictionary has the specified key, else False.
Implement delattr(self, name).
Delete self[key].
Default dir() implementation.
Return self==value.
Default object formatter.
Return self>=value.
Return getattr(self, name).
x.__getitem__(y) <==> x[y]
Return self>value.
This method is called when a class is subclassed.
Return self|=value.
Implement iter(self).
Return self<=value.
Return len(self).
Return self<value.
Return self!=value.
Return self|value.
Helper for pickle.
Helper for pickle.
Return repr(self).
Return a reverse iterator over the dict keys.
Return value|self.
Implement setattr(self, name, value).
Set self[key] to value.
Return str(self).
Abstract classes can override this to customize issubclass().
Create a new dictionary with keys from iterable and values set to value.
Return the value for key if key is in the dictionary, else default.
If the key is not found, return the default if given; otherwise, raise a KeyError.
Remove and return a (key, value) pair as a 2-tuple.
Insert key with a value of default if key is not in the dictionary.
If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
Methods Documentation
- __class_getitem__()
See PEP 585
- __contains__(key, /)
True if the dictionary has the specified key, else False.
- __delattr__(name, /)
Implement delattr(self, name).
- __delitem__(key, /)
Delete self[key].
- __dir__()
Default dir() implementation.
- __eq__(value, /)
Return self==value.
- __format__(format_spec, /)
Default object formatter.
- __ge__(value, /)
Return self>=value.
- __getattribute__(name, /)
Return getattr(self, name).
- __getitem__()
x.__getitem__(y) <==> x[y]
- __gt__(value, /)
Return self>value.
- __init__(*args, **kwargs)
- __init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- __ior__(value, /)
Return self|=value.
- __iter__()
Implement iter(self).
- __le__(value, /)
Return self<=value.
- __len__()
Return len(self).
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __new__(**kwargs)
- __or__(value, /)
Return self|value.
- __reduce__()
Helper for pickle.
- __reduce_ex__(protocol, /)
Helper for pickle.
- __repr__()
Return repr(self).
- __reversed__()
Return a reverse iterator over the dict keys.
- __ror__(value, /)
Return value|self.
- __setattr__(name, value, /)
Implement setattr(self, name, value).
- __setitem__(key, value, /)
Set self[key] to value.
- __sizeof__() size of D in memory, in bytes
- __str__()
Return str(self).
- __subclasshook__()
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
- clear() None. Remove all items from D.
- copy() a shallow copy of D
- fromkeys(value=None, /)
Create a new dictionary with keys from iterable and values set to value.
- get(key, default=None, /)
Return the value for key if key is in the dictionary, else default.
- items() a set-like object providing a view on D's items
- keys() a set-like object providing a view on D's keys
- pop(k[, d]) v, remove specified key and return the corresponding value.
If the key is not found, return the default if given; otherwise, raise a KeyError.
- popitem()
Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.
- setdefault(key, default=None, /)
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
- update([E, ]**F) None. Update D from dict/iterable E and F.
If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
- values() an object providing a view on D's values