context_modifier
- class nrv.optim.optim_utils.context_modifier(extracel_context=True, intracel_context=False, rec_context=False)[source]
Instantiate a context modifier: Callable object which modify a static context, regarding a vector of tunning parameters, to generate a new local context
Notes
context_modifier is an abstract class used to inherit new context modifier.
- Parameters:
extracel_context (bool) – specifies whether to load extracel_context with the static context
intracel_context (bool) – specifies whether to load intracel_context with the static context
rec_context (bool) – specifies whether to load rec_context with the static context
Methods
|
Init method for |
Generic method returning all the atributes of an NRV_class instance |
|
|
Generic loading method for |
|
Generic saving method for |
|
Generic method to set any attribute of |