class documentation
class _convert2ma: (source)
Convert functions from numpy to numpy.ma.
Parameters | |
_methodname | Name of the method to transform. |
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | getdoc |
Return the doc of the function (from the doc of the method). |
Class Variable | __doc__ |
Undocumented |
Method | _replace |
Replace documentation of np function's return type. |
Instance Variable | _extras |
Undocumented |
Instance Variable | _func |
Undocumented |
Replace documentation of np function's return type.
Replaces it with the proper type for the np.ma function.
Parameters | |
doc:str | The documentation of the np method. |
npstr | The return type string of the np method that we want to replace. (e.g. "out : ndarray") |
npstr | The return type string of the np.ma method. (e.g. "out : MaskedArray") |