simpeg.optimization.SteepestDescent.projection#
- SteepestDescent.projection(p)[source]#
- Projects a model onto bounds (if given) - By default, no projection is applied. - Parameters:
- pnumpy.ndarray
- The model to project 
 
- p
- Returns:
- numpy.ndarray
- The projected model. - If you have things that also need to run in the method projection, you can create a method: - def _projection*(self, ... ): pass - Where the * can be any string. If present, _projection* will be called at the start of the default projection call. You may also completely overwrite this function. 
 
 
