ModOpt
ModOpt copied to clipboard
Have more basic operator classes
Currently, we have GradParent
and ProxParent
base classes.
However, it would help to have a more generic Base Operator classes, particularly linear operator class like the OperatorBase in pysap-mri :
https://github.com/CEA-COSMIC/pysap-mri/blob/90c9d12687660a266f029680359a532efdb0db3f/mri/operators/base.py#L9
A similar base class with just op method could be used for Gradient and Proximity.
The reason why this will affect is cause I have some more generic proximities and gradients, which cant be inherited from GradParent and ProxParent, which misses the flow and also causes a lot of warnings.
Are you planning to submit a Pull Request?
- [ ] Yes
- [X] No