sknano.core.method_func

class sknano.core.method_func(classobj, methodname, reversed=False)[source][source]

Define functions from existing class methods.

This class is based off of the the numpy numpy.ma._frommethod class.

Parameters:

classname : str

Name of the class containing methodname

methodname : str

Name of the method to transform.

Methods

__call__(a, *args, **params)
getdoc() Return the doc of the function (from the doc of the method).